Raj Kumar
Raj Kumar

Reputation: 736

API to work with dropbox.com from .NET 4.5

I'm developing metro app using C# and XAML, i want to connect to Dropbox.com and retrieve files from dropbox, I tried to install dropbox API's from here and here and some other links But when i install from Package Manager Console(VS 2012), it fires an error during installation for all API's please check the imageInstallation Error.
I understand that these version API's do not support for framework 4.5. Can anyone please tell me where i can find correct version that supports framework 4.5.

Upvotes: 3

Views: 6200

Answers (1)

Hans Passant
Hans Passant

Reputation: 941217

It doesn't have anything to do with .NET 4.5, it is the project type you selected that's the problem. It selected the .NETCore profile, the one you get from a Portable Class Library project or a Windows Store project. The library you are trying to use can only work in a desktop app.

You could use their generic REST api. Fuggedaboudit if this is a Store app, you can't keep the file transfer going when the user gets bored waiting.

Upvotes: 5

Related Questions