A member of the System.Security.Claims namespace is not available?

.net-4.5, authentication, c#, claims-based-identity, reference

Solution

You need to add a reference to `System.IdentityModel.dll`

You can see this in the documentation for `ClaimsAuthenticationManager`:

Namespace: System.Security.Claims

Assembly: System.IdentityModel (in System.IdentityModel.dll)

Problem

I am learning the new Claims-based Authentication methods in .NET 4.5, and am using a Console app to do so. According to MSDN here, ClaimsAuthenticationManager is a member of System.Security.Claims namespace. As you can see here, I am not getting this option. I have made sure the project is using .NET 4.5. I am missing something simple here... anyone have any suggestions?

Original source