开发者

Can't build 32 bit asp.net app deployment package on 64 bit Windows 7

开发者 https://www.devze.com 2023-04-03 03:02 出处:网络
I\'m building a web app that\'s going to be deployed on a 32 bit server, using a cproj_deploy and web deployment project to build my msi file. If I build this on XP, everything works fine. If I build

I'm building a web app that's going to be deployed on a 32 bit server, using a cproj_deploy and web deployment project to build my msi file. If I build this on XP, everything works fine. If I build it on Windows 7, I get the following error. File 'BridgeService.dll' of project output 'Precompiled Web Outputs from BridgeService.csproj_deploy (Active)' targeting 'AMD64' is not compatible with the project's target platform 'x86' C:\projects\bridge\PDMSCoreWebService\PDMSCoreWebService.vdproj

If I go into Configuration Manager, the csproj_deploy is set to "Any CPU". If I try to edit the platform, I don't have any options. (Any CPU is my only choice.) The active solution platform for the configuration is开发者_StackOverflow x86. How do I force my deployment project to compile 32 bit?


Manually Clearing out all of the obj files appears to have done the trick. Apparently Clean Solution and Rebuild Solution aren't reliable.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号