active-directorywindows-store-appswindows-identity

Not able to find Windows.IdentityModel for windows 10 store app development


Is this dll not compatible with windows store app, Or is there any other way to achieve the same.

I tried adding it from nuget package also but not happening, I am getting this error:

"Severity Code Description Project File Line Suppression State Error Package restore failed. Rolling back package changes for 'Solution'."


Solution

  • As far as I'm concerned, you need to intall the Windows Identity Foundation as well as the WIF SDK and then restart the application for the effect to work.

    For Windows 10 device, Windows Identity foundation is not an istall but a Windows feature need to be enabled.

    A similar question here that could be helpful to you. As Moory said in the comment, he fixed this issue by adding the reference below to the csproj file:: ( .

    Please also try it. Thank you.