I am using Windows Identity Foundation Framework 3.5. I have installed this on my dev box and I have everything working. My problem is the production server.
Is there a way to NOT install the framework on the production server and still have the MVC application work? Right now I am receiving the error:
Type is not resolved for member Microsoft.IdentityModel.Claims.ClaimsPrincipal,Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
This is expected, since the framework is not there and obviously the simple answer is to install the framework, but this is out of my control.
Things I have tried, add the references Microsoft.IdentityModel.dll, Microsoft.IdentityModel.WindowsTokenService.dll, Microsoft.IdentityModel.resources.dll, and Microsoft.IdentityModel.WIndowsTokenService.resources.dll directly to the project and set them to copy to the output directory. This does not work.
Any suggestions?
In the hope that this will help someone else with the same problem, the Windows Identity Foundation is now available as a nuget package, you can install using:
Install-Package Microsoft.IdentityModel
http://www.nuget.org/packages/Microsoft.IdentityModel/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With