Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Cannot add Active Directory Authentication Library Package to Xamarin.Forms and Droid application

$
0
0

Greetings everyone -

I am brand new to Xamarin and I am trying to jump right in. There is a post that I am trying to replicate (https://blog.xamarin.com/put-adal-xamarin-forms/) and am having issues adding the NuGet package to both my Xamarin.Forms and Xamarin.Android applications. I am running PCL 4.5 - Profile 78 in my Xamarin.Forms project and the Droid project is targeting the latest installed platform (6.0) with an target android version of API Level 23.

When I attempt to add a reference to the "Active Directory Authentication Library" v 2.19.208020213, to either project, I am receiving an error to the effect of "Could not install package 'Microsoft.IdentityModel.Clients.ActiveDirectory 2.19.208020213'. You are trying to install this package into a project that targets 'portable-net45+win+wp80+MonoAndroid10+xamarinios10+MonoTouch10', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author."

Can anyone help me understand what I am doing wrong? The referenced tutorial makes it look so easy and I am stuck simply adding a reference.

Thanks!


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>