Forum General

Not able to add a nuget package.(One of the WORST Tool in recent times)

Hi I am facing problem in installing the most of the nuget package.
A sample error message is here .

Could not install package 'Microsoft.IdentityModel.Clients.ActiveDirectory 3.13.9'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile259', 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.

Let me know if you can help or do i go with other tool to develop mobile applications.


  • mattwardmattward GBMember Xamurai
    edited August 2017

    Looking at the Microsoft.IdentityModel.Clients.ActiveDirectory NuGet package it supports the Portable Class Library Profile 7. It does not support Profile 259 unfortunately.


    1. Switch the project's profile to Profile 7.
    2. Use a .NET Standard project instead of a Portable Class Library project.
Sign In or Register to comment.