Where is the Microsoft.IdentityModel dll

I installed the Windows Identity Foundation but cannot find the Microsoft.IdentityModel dll. According to Labure Hands-on-Labs, this should be just a Reference link in VS2010. However, it is not.

I also looked in c: \ Program Files (x86) \ Windows Identity Foundation * and there not there (or in the folder of 64-bit program files).

Help!

+51
identity wif azure
Jun 08 '10 at 21:55
source share
10 answers

Have you installed the Windows Identity Foundation and the companion WIF SDK ?

+48
Jun 08 '10 at 22:30
source share
— -

How about the NuGet Windows Identity Foundation . Just add it to the project and you go! His one of the NuGets-owned MSs should be supported accordingly.

EDIT: On Windows 8, the Windows Identity Foundation is installed (enabled) by turning on the Windows feature in Control Panel> All Control Panel Items> Programs and Features> Turn Windows feature on or off is Windows Identity Foundation 3.5. The installers associated in the answer above will not work on Windows 8

+48
Oct 08
source share

If you installed the WIF SDK, try:

C:\Program Files\Reference Assemblies\Microsoft\Windows Identity Foundation\v3.5\ Microsoft.IdentityModel.dll 
+38
Oct 21 '10 at 15:04
source share

I had this problem, but it was fixed by referencing the DLL from "C: \ Program Files \ Reference Assemblies \ Microsoft \ Windows Identity Foundation \ v3.5 \ Microsoft.IdentityModel.dll"

Go to the reference properties and set Copy Local to True for the DLL. Now the DLL will be included in the azure package.

+6
Nov 14 '11 at 16:05
source share

For Windows 10:

Right-click the taskbar logo on the taskbar, select "Programs and Features."

Click Enable or Disable Windows Features

In the dialog that appears, scroll down or resize the window and check the box "Windows Identity Foundation 3.5"

Click OK.

This activates the necessary DLLs. Obviously, Windows 10 saves all of these features in a Windows installation to enable and disable them on demand.

+4
Nov 23 '15 at 23:11
source share

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

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

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.

+1
Aug 01 '12 at 21:15
source share

On Windows 8.1 64bit, find under C: \ Windows \ ADFS

+1
Mar 22 '14 at 15:51
source share

On Windows 8 and there is a way to enable the function from the command line without having to download / install anything explicitly by running the following:

 dism /online /Enable-Feature:Windows-Identity-Foundation 

And then find the file by running the following in the root directory of the Windows drive:

 dir /s /b Microsoft.IdentityModel.dll 
+1
Apr. 15 '16 at 22:24
source share

The namespace mapping check has changed since 3.5, see the URL below for more details. http://msdn.microsoft.com/en-us/library/jj157091.aspx

0
Aug 08 '14 at 17:32
source share

Install both of the links below

  • Windows Identity Foundation

    Note : (For Vista and Windows Server 2008 →> Windows6.0 and For Windows 7 and Windows Server 2008 R2, →> Windows6.1.)

  • Windows Identity Foundation SDK

    Note Download version 3.5 for Visual Studio 2008 and .NET 3.5, version 4.0 for Visual Studio 2010 and .NET 4.0.

Then Only, you can get an assembly called Microsoft.IdentityModel

0
Apr 09 '15 at 12:09
source share



All Articles