Reputation: 325
When I try to install ADAL to my new VS Cross Platform Project I get the following error:
Error Could not install package ‘Microsoft.IdentityModel.Clients.ActiveDirectory 3.13.1’. You are trying to install this package into a project that targets ‘.NETPortable,Version=v4.5,Profile=Profile111’, 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.
I understand that the fix is to remove support for Windows Phone 8.1 in the shared project properties, however this is the issue I am having. I can see the supported platforms list, but I cannot edit all of it, so I appear to be stuck with Profile111, or 259, Does anyone know how to work around this issue please?
This is Visual Studio 2017 Community Edition, new project, Xamarin Forms, with PCL. Targets .Net 4.5, using the latest pre-release of Xamarin.Forms.
I need to get Azure AD Auth working in a PCL project, and this is the best solution.
Upvotes: 0
Views: 145
Reputation: 14649
AFAIK, this issue is caused that profile111 is not supported. This is because WinPhone8.1 is not supported by ADAL. The library only support Profile7 at present.( refer here)
If you want this library to support for the profile111, I suggest that you reopen a new issue from GitHub for this library.
Upvotes: 1