You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Oskar
8 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...
- 8 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
Qiming Y.
8 years agoDropbox Staff
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
- Oskar8 years agoHelpful | Level 6
Hi Qiming,
Thanks for your reply.
I was missing the PackageTargetFallback -tag in the test project. That solved it. Thanks a million.
I do not have the Microsoft.NETCore.Portable.Compatibility -package installed. Things seem to work without it. Under what circumstances would I need to install this package?
All the best,
Oskar
- Qiming Y.8 years agoDropbox Staff
Your code may not be able to compile if you call async method in the SDK without Microsoft.NETCore.Portable.Compatibility installed. If your code already compiles and works fine then you don't have to install it.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,912 PostsLatest Activity: 2 hours agoIf 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!