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
Net Core 2.0 Compability?
Hi,
Is the Dropbox API 2 compatible with the NetCore 2.0? Specifically ASP.Net 2.0?
Oskar
- 7 years ago
After a quick trial run, it appears to me that the 4.9.0 release solves the dependency warnings, works with NetCore 2.1 and also works in non-windows environments. Great! You should make more noise about this.
Big thanks,
Oskar
Greg-DB
Dropbox Staff
I haven't tried ASP.NET Core 2.0 in particular. Can you share the error message you got? Thanks in advance!
Oskar
8 years agoHelpful | Level 6
Hi,
Unfortunately, I can't - I rolled back my project already and did not take any screen shots.
But, it is very simple:
1) Just create any empty ASP.Net Core project
2) Upgrade it to v 2.0
3) Add Dropbox.API 4.3.0 via NuGet manager.
You will get a yellow triangle in your dependencies section in Visual Studio saying something about incompatibility and falling back.
The project will build, but any attempt to use the API will fail in a runtime exception.
Oskar
- Greg-DB8 years agoDropbox StaffThanks! We'll look into it.
- Oskar8 years agoHelpful | Level 6
I need to specify, that I only use two methods:
-GetSharedLinkMetadataAsync
-GetSharedLinkFileAsync
So, my claim "any attempt..." might be a slight exaggeration. But these calls failed at least for me.
Oskar
- Greg-DB8 years agoDropbox StaffThere's a server issue that can cause GetSharedLinkFileAsync in particular to fail right now, so that may not be related to the SDK itself.
Also, there are a number of possible expected exceptions from GetSharedLinkMetadataAsync, e.g., if the supplied link is not found, etc.
That being the case, I would recommend testing with something simpler, such as Users.GetCurrentAccountAsync.
I just tried creating a .NET Core 2.0 project in Visual Studio 7.1 for Mac on macOS 10.12.6, and the Dropbox.API library v4.3.0 worked fine with Users.GetCurrentAccountAsync. I also didn't get the yellow triangle warning you mentioned. If are you seeing any issues with the SDK itself, e.g., where even GetCurrentAccountAsync won't work, please let us know what version of Visual Studio and system you're using so we can try to reproduce it.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,918 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!