Where is the Microsoft.IdentityModel dll

后端 未结 10 1660
暖寄归人
暖寄归人 2020-12-25 09:41

I have installed the Windows Identity Foundation but can\'t find the Microsoft.IdentityModel dll. According to the Azure Hands-on-Labs it should just be in Add Reference in

10条回答
  •  遥遥无期
    2020-12-25 10:18

    I had a similar problem. I got an exception "Type is not resolved for member 'Microsoft.IdentityModel.Claims.ClaimsPrincipal, Microsoft.IdentityModel, Version = 3.5.0.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35'.".

    I tried to run the ASP.NET application from Visual Studio, which was a reference to a local copy of Microsoft.IdentityModel.dll.

    I did not want to install the SDK and I had to copy the library to the directory "C: \ Program Files \ Common Files \ Microsoft Shared \ DevServer \ 10.0" and restart Visual Studio.

提交回复
热议问题