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
- 8 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 Community Moderator
9 years agoThanks! We'll work on reproducing that.
pcuycs
8 years agoExplorer | Level 3
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.
- 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
- 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?
- 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 - Greg-DB8 years ago
Dropbox Community Moderator
Jaryn I don't have an update or timeline for this from the team yet, nor a workaround unfortunately. This is already open with engineering so you don't need to file it on GitHub as well. The "Known Issues" list you referred to is for end-users of the Dropbox product itself, not developers using the Dropbox API. I'll follow up here once I have news on this.
- Oskar8 years agoHelpful | Level 6
Hi. While you are at it, how about fixing this for Dotnet Core 2.1 as well?
Oskar
- Oskar8 years agoHelpful | Level 6
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
- Ian A.8 years agoExplorer | Level 3
I agree, looks like the latest package version fixes this issue!
- Greg-DB8 years ago
Dropbox Community Moderator
Apologies for the delay! Yes, this should be fixed in the latest release. Let us know if you're still seeing any issues. - jorge_ricardopc7 years agoHelpful | Level 5
pues a mi no me funciona el GetSharedLinkMetadataAsync, me dice que no encuentra el link compartido, y el archivo si esta compartido, en seguida intento crear el link para compartir con CreateSharedLinkWithSettingsAsync y me dice que ya existe uno, es un ciclo sin fin que no sirve. No se si a alguien más le pasa o es un problema de la cuenta gratuita?
- Greg-DB7 years ago
Dropbox Community Moderator
Parece que tienes una pregunta diferente a la que se estaba discutiendo en este viejo hilo. Abra un nuevo hilo con los detalles de su pregunta (por ejemplo, código, salida de error, etc.) para que podamos ayudarlo. ¡Gracias!
---
Por favor, disculpe nuestras traducciones. Nuestras traducciones fueron creadas usando un traductor en línea. Nos gustaría apoyar todos los idiomas, pero actualmente no estamos equipados para hacerlo. Aquí está la versión en inglés:
---
Please excuse our translations. Our translations were created using an online translator. We'd like to support every language, but we're not currently equipped to do so. Here is the English version:---
It sounds like you have a different question than what was being discussed on this old thread. Please open a new thread with the details of your question (e.g., code, error output, etc.) so we can help. 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!