开发者

Building 64 bit web application on 32 bit build server

we have a cc.net build se开发者_JS百科rver on a win 2003 32 bit server. We're building our web projects with Targets="ResolveReferences;_WPPCopyWebApplication". We're deploying the results to a 64-bit web server. The problem is that _WPPCopyWebApplication seems to add some system dlls (System.Data, PresentationCore, System.Web) to the /bin-output folder, which breaks on our 64 bit server, since the dlls are 32 bit. We're building with AnyCPU-option.


when you try to run your web server on 64 bit platform .net uses optimized for x64 system assemblies. therefore your web server crashes. I may be wrong in detailes, but the error in mixing platforms (x86/x64).

I can suggest to compile on your 32 bit build machine with configuration x86. then x64 server will have to use only 32 bit dlls. When your build machine will be migrated to x64, you can set projects back to AnyCPU.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜