Where is the Microsoft.IdentityModel dll

后端 未结 10 1640
暖寄归人
暖寄归人 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:31

    In Windows 8 and up there's a way to enable the feature 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 at the root of your Windows disk:

    dir /s /b Microsoft.IdentityModel.dll
    
    0 讨论(0)
  • 2020-12-25 10:31

    Check namespace mapping changed after 3.5 see below URL for details. http://msdn.microsoft.com/en-us/library/jj157091.aspx

    0 讨论(0)
  • 2020-12-25 10:34

    In Windows 8.1 64bit, look under C:\Windows\ADFS

    0 讨论(0)
  • 2020-12-25 10:36

    How about a NuGet Windows Identity Foundation. Just add it you you project and away you go! Its one of the MS owned NuGets so should be maintained accordingly.

    EDIT: In Windows 8 Windows Identity Foundation is installed (enabled) by turning a windows feature on in Control Panel > All Control Panel Items > Programs and Features > Turn Windows feature on or off the feature is Windows Identity Foundation 3.5. Installers linked in the answer above will not work on Windows 8

    0 讨论(0)
提交回复
热议问题