我有一个VS 2010解决方案,其中包含一个网站,其中有一个网络服务。Web服务引用在我们的64位生成服务器上构建解决方案时引起问题的COM DLL。我得到了典型的32/64位错误:
ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly 'xxx' or one of its dependencies. An attempt was made to load a program with an incorrect format
当我使用32位aspnet构建站点时aspnet_compiler构建得很好。那么,我如何指定一个网站应该作为32位构建呢?VS内部的配置管理器只允许我选择任何CPU,所以我不能将它更改为x86用于这个网站。
相似问题