Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Oskar
9 years agoHelpful | Level 6
Dropbox API 2 supports .Net Core 1.1?
Hi, I have an ASP.Net Core 1.1.1 app that uses the DropBox API. When starting Visual Studio 2017 I get an error message: Package Dropbox.Api 4.3.0 is not compatible with netcoreapp1.1 (.NETCo...
- 9 years ago
The SDK supports .Net Core 1.1. You just need to make sure you have
- <PackageTargetFallback>portable-net45+win8</PackageTargetFallback> added to both main and test projects.
- Microsoft.NETCore.Portable.Compatibility nuget package installed for main project.
- Visual studio doesn't return any error when the build process tries to restore nuget packages. Sometimes the restore may fail due to error like "Unable to resolve ... for '.NETCoreApp,Version=v1.1'". If that happens you may need to re-open visual studio / re-add the project. Then a clean and re-build should remove the error.
If the issue still persist please let us know.
Thanks,
Qiming
Greg-DB
Dropbox Community Moderator
9 years agoThis isn't related to API v1 (the .NET SDK only uses API v2 to begin with). The API .NET SDK should work with .NET Standard 1.1+, though it may require some extra configuration.
If you are using project.json, you need to add portable-net45+win8 to imports under you frameworks section. If you are using .csproj file, you need to add <PackageTargetFallback>portable-net45+win8</PackageTargetFallback> element to your project.
If you are using project.json, you need to add portable-net45+win8 to imports under you frameworks section. If you are using .csproj file, you need to add <PackageTargetFallback>portable-net45+win8</PackageTargetFallback> element to your project.
- Oskar9 years agoHelpful | Level 6
Hi Greg,
Thanks for your quick response.
I have already this in my .csproj -file.
<PackageTargetFallback>$(PackageTargetFallback);dotnet5.6;portable-net45+win8</PackageTargetFallback>
It comes as a default.
Adding or replacing the element you sent doesn't seem to make any difference
Oskar
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!