Search code examples
securitysharepoint-2010gac

Where is Microsoft.Sharepoint.IdentityModel.dll


I am trying to use the SPFederationAuthenticationModule class in my SharePoint Foundation 2010 project. \I cannot find Microsoft.Sharepoint.IdentityModel.dll file. There is not one in c:\windows\assembly. Help me!


Solution

    1. start Command Prompt

    2. write "cd :\Windows\assembly\GAC_MSIL\Microsoft.SharePoint.IdentityModel\14.0.0.0__71e9bce111e9429c\"

    3. write "copy Microsoft.SharePoint.IdentityModel.dll c:\"

    4. now you can access the dll freely (e.g. copy to TFS, open with reflector or any other action)

    Another option is to write "subst i: %windir%\assembly\gac_msil" in Command Prompt, that way you can browse the GAC_MSIL (where Microsoft.SharePoint.IdentityModel is located) via Windows Explorer.