Missing reference to assembly Microsoft.IdentityModel.Clients.ActiveDirectory

I am currently developing a Xamarin.Android application in VS2013. I want to implement Azure Active Directory in my application following this guide . Then I add the Microsoft.IdentityModel.Clients.ActiveDirectorynuget package as described.

Then I want to add the AuthenticationResult attribute, but then I got the missing assembly comparison error. Even when I explicitly write (or drag and drop) Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationResult.

I searched everywhere for solutions, but none of them matched my problem. (The target structure for updating / downgrading did not solve the problem) If anyone has an idea about this, I would be very grateful because I am getting out of ideas.

Thank.

+4
source share
2 answers

So, I found out what the problem is. I had to use a specific version of the package since it was released before the version. I had to install 3.0.110281957 exactly when it recognized the link as I needed.

+1
source

A few things to check or try:

Does the link appear in Microsoft.IdentityModel.Clients.ActiveDirectory in the list of links from your solution?

If it appears, what are the properties like copy to output, absolute / relative path?

Is it added for all project configurations (Debug / Release)?

+1
source

All Articles