c# - The type or namespace name 'ClaimsAuthenticationManager' could not be found -
i trying use claimsauthenticationmanager class cannot figure out how add proper namespace project.
when try use class in project error, "the type or namespace name 'claimsauthenticationmanager' not found. typically resolved installing correct nuget package , using namespace. seems special case.
this question a member of system.security.claims namespace not available? similar. resolution add reference system.identitymodel.dll.
i added reference system.identitymodel.dll right clicking on project , selecting add>reference. pointed system.identitymodel.dll on disk @ location: c:\program files\reference assemblies\microsoft\windows identity foundation\v3.5\system.identitymodel.dll.
i've added using statement: "using system.security.claims;"
i tried cleaning , rebuilding project. still having same issue.
i had similar problem. classes spread on different namespaces , assemblies. use regular 'add references' find .net framework 4.5 version of system.identitymodel. version 4.0.0.0. file version "4.0.30319.18020 built fx45rtmgdr".
see article mapping between wif 3.5 , 4.5: http://msdn.microsoft.com/en-us/library/jj157091.aspx
regards, peter
Comments
Post a Comment