Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi,
Is the Dropbox API 2 compatible with the NetCore 2.0? Specifically ASP.Net 2.0?
Oskar
hi @Greg D,
i'm create new console project using .net core 2.0 and flow to https://github.com/dropbox/dropbox-sdk-dotnet#support-platforms to install .net core for Dropbox API but i get yellow triangle in dependencies section.
Is the Dropbox API 2 current version compatible with the NetCore 2.0 ?
i attached 2 picture for you
please help me,
thank you.
@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.
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
@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?
Post updated with links to shared images. Not sure why the Rich Text editor failed to post them properly.
I observe that discussion. I have the same issue.
Any updates on that?
@Jaryn No, I don't have an update on this yet.
@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
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!