3

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?

4

2 に答える 2

0

MVC アプリケーションの bin ディレクトリに DLL を追加できます。

于 2013-06-14T18:34:24.653 に答える