One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
brett8
3 years agoExplorer | Level 3
Getting started using dropbox with C#
Hi I'm an experienced c# developer trying to get started with dropbox coding. I'm looking to write a .net 6 integration to read files from dropbox but initially, I'm just trying to make a proof of concept connection.
I've started reading the documentation which has led me to the examples on the dropbox github here dropbox/dropbox-sdk-dotnet: The Official Dropbox API V2 SDK for .NET (github.com)
I've downloaded the code but cannot get it to even compile!
The issues seem to be related to mismatched dependencies on packages and projects refs - some of which are .net standard 2 some of which are framework 4.5
I've tried visual studio 2019 & 2022 I've tried .net 6 / standard 2 / framework 4.5 / framework 4.8.
I've tried installing likely missing nuget packages system.net.http / microsoft.net.http etc
I've tried building the whole solution / pulling out the oauthtest example / pulling out program.cs into linqpad even.
I've tried pulling out the project references and adding to the nuget packages instead.
I can only assume that I've somehow picked up the wrong developer documentation and that that api is an old / depreciated version.
Any pointers towards the happy path or a simple "sign-in and list files" demo would be greatly appreciated.
- Greg-DB
Dropbox Staff
Thanks for the report, and apologies for the trouble. We dropped support for .NET Framework 4.5 in v6.0.0 of the Dropbox .NET SDK, but it sounds like the configuration of the example app(s) weren't updated to match. I'll ask the team to update that accordingly to get those working again.
- brett8Explorer | Level 3
Thanks for getting back to me Greg
I managed to find a tutorial that has got me going with the basics here : .NET - Developers - Dropbox
Posting this in case it helps others.
It looks like you have a decent API and some very good detailed documentation but It is quite difficult to get started with and you could do with a little more documentation on getting started. Linking that ^^^ basic tutorial from your README.md in github would help, I think.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 2 days ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!