How to run VS 2010 Local IIS in 32 bit mode

后端 未结 3 1625
死守一世寂寞
死守一世寂寞 2021-01-15 11:52

I have referenced some 32 bit and some 64 bit DLL in my ASP.NET MVC 3 project.

The projects compile but I get runtime errors.

It\'s because I am running the

3条回答
  •  野的像风
    2021-01-15 12:38

    Set your compile target to x86 instead of AnyCPU or x64. Your dll will always run in 32-bit without you needing to mess with the IIS server settings.

提交回复
热议问题