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
Net Core 2.0 Compability?
Hi,
Is the Dropbox API 2 compatible with the NetCore 2.0? Specifically ASP.Net 2.0?
Oskar
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
29 Replies
Replies have been turned off for this discussion
- Greg-DB8 years ago
Dropbox Community Moderator
pcuycs The API v2 .NET SDK is supposed to work with .NET Core 2.0, but there may be an issue loading it in some environments, as noted earlier in this thread.
I don't have an official update for that, but one thing you can try is manually adding Newtonsoft.Json.
If that doesn't help, please share the full error message if possible.
- Ian A.8 years agoExplorer | Level 3
The issue appears to be that the NuGet package for the Dropbox v2 API (version 4.8.0) doesn't have the proper dependencies specified for .Net Core. When viewing the package in NuGet, it appears to be dependant upon the older .Net Portable libraries:
https://www.dropbox.com/s/e2pw90auq4hpfqs/DropboxNuget.png
As a result, users targeting .Net Core 2.0 see the following warnings in their dependencies:
https://www.dropbox.com/s/kzjhrgkm2kj4avc/DropboxWarning.png
I believe the solution would be to update the NuGet package to target .Net Standard as the Portable libraries are no longer the preferred way to build cross-platform components:
https://docs.microsoft.com/en-us/dotnet/standard/net-standard
- Greg-DB8 years ago
Dropbox Community Moderator
Ian A. Thanks for the information! Your screenshots seemed to have broken on the forum though. Can you try attaching (or linking to) them again for reference?
- Ian A.8 years agoExplorer | Level 3
Post updated with links to shared images. Not sure why the Rich Text editor failed to post them properly.
- Greg-DB8 years ago
Dropbox Community Moderator
Thank you! - Jaryn8 years agoExplorer | Level 3
I observe that discussion. I have the same issue.
- Jaryn8 years agoExplorer | Level 3
Any updates on that?
- Greg-DB8 years ago
Dropbox Community Moderator
Jaryn No, I don't have an update on this yet.
- Jaryn8 years agoExplorer | Level 3
Greg-DB How is this bug going? What is a status of that problem? In the post 'Known issues - updated June 21st see more' is nothing about that issue. Is that issue on you roadmap to fix? Do you know some workaround? Should I raise that issue on github? When can I expect fix for that defect?
Thanks, Tomasz
- newacc18 years agoExplorer | Level 3from pcuycs: @Greg sorry for feedback late, I tried manually install Newtonsoft.Json but warning is still appear.
http://prntscr.com/jyxp7b
thanks
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!