I am running a VS2012 MVC 5 project on 2017 . All seems to work fine except that
ClaimsPrincipal.Current
does not return the same thing!!
The exact same code works perfectly on VS2012 , Development and Production server.
Although when running the project from VS2017 ClaimsPrincipal.Current
behaves differently.
Doing some research i found this article http://davidpine.net/blog/principal-architecture-changes/
Stating that in .NET Core ClaimsPrincipal.Current
should behave differently .
Thing is that in my case i am running the exact same .NET version in both IDE's (4.0.30319.42000) and verified that with Environment.Version
.
Also hitting F12 on ClaimsPrincipal.Current
navigates to the exact same mscorlib.dll file.
Any help would be appreciated.