OneDrive / onedrive-sdk-dotnet-msa-auth-adapter

Other
26 stars 22 forks source link

Cannot use in UWP Library #64

Open FrancescoCarraro opened 6 years ago

FrancescoCarraro commented 6 years ago

I'm trying to add the library to a UWP library (using SDK 15063) but everytime I try to authenticate or get the root folder I receive the following exception: Exception thrown: 'System.IO.FileNotFoundException' in System.Private.CoreLib.ni.dll Could not load file or assembly 'Microsoft.OneDrive.Sdk.Authentication.WinRT, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Impossibile trovare il file specificato.

Why it is trying to use WinRT instead of UWP? How Can I fix it?