cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Net Core 2.0 Compability?

Net Core 2.0 Compability?

Oskar
Helpful | Level 6
Go to solution

Hi, 

Is the Dropbox API 2 compatible with the NetCore 2.0? Specifically ASP.Net 2.0?

Oskar

 

29 Replies 29

pcuycs
Explorer | Level 3
Go to solution

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 

http://prntscr.com/japkle

http://prntscr.com/japkz5

 

please help me,

thank you.

Greg-DB
Dropbox Staff
Go to solution

@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.
Explorer | Level 3
Go to solution

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-DB
Dropbox Staff
Go to solution

@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.
Explorer | Level 3
Go to solution

Post updated with links to shared images. Not sure why the Rich Text editor failed to post them properly.

Greg-DB
Dropbox Staff
Go to solution
Thank you!

Jaryn
Explorer | Level 3
Go to solution

I observe that discussion. I have the same issue. 

Jaryn
Explorer | Level 3
Go to solution

Any updates on that?

Greg-DB
Dropbox Staff
Go to solution

@Jaryn No, I don't have an update on this yet.

Jaryn
Explorer | Level 3
Go to solution

@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  

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    jorge_ricardopc Helpful | Level 5
  • User avatar
    Ian A. Explorer | Level 3
  • User avatar
    Oskar Helpful | Level 6
What do Dropbox user levels mean?