Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Working on upgrading a 8.1 winphone app to API v2 and we get an exception about not finding/loading the System.Net.Http assembly whenever the constructor for the DropboxClient is called. Tried installing the System.Net.Http NuGet package and it says none of my project types apply. Tried installing the Microsoft.Net.Http NuGet package and it tells me that the assembly it found can't be used (it finds a version 1.5.0.0 and it requires a 4.0.0.0). Installing the v2 api nuget package didn't depend on any other packages for our project types.
Anyone have any ideas? I've tried rebinding in app.config with no success. I've tried creating other project types for the system.net.http nuget package and can't get it to create a reference to one of its included assemblies using any incantation that applies to WinPhone (meaning I don't have a clear path to follow trying to subvert the system).
Anyone else using DropBox with winphone 8.1 apps?
@kremesko This thread is for programmers experiencing a specific issue when creating API applications. It sounds like you're not a programmer running in to this particular issue, so you'd be better served by opening a thread in another section of the forum, e.g., Error messages. Or, if you're having trouble with a particular third party application, you should contact the developers of that application.
Sorry, disregard below, unless you are getting an issue where it cannot find reference to System.Diagnostics.DiagnosticSource Version="4.0.0.0" when you create a dropox api client. I misread the package error you were getting.
After much frustation. I was able to solve this issue. I had to install two nuget packages.
<PackageReference Include="Dropbox.Api" Version="4.7.0" />
<PackageReference Include="Microsoft.Extensions.DiagnosticAdapter" Version="2.0.0" />
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="4.4.1" />
After referencing both DiagnosticSource and DiagnosticAdapter I was able to get the api working.
Bests,
Jared
Hi there!
If you need more help you can view your support options (expected response time for a 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!