在自动构建中使用devenv时,我一直收到此错误.我已经浏览了我能找到的每个网站,并且通常的答案提到了刷新的依赖关系(我认为它修复了它用于手动部署,但不用于自动)并从项目中删除源代码控制编码,这对我没有帮助.
每次构建时都不会发生错误,但每次在不同的部署项目上似乎都是随机的.
有没有人对为什么会出现这个错误以及如何修复它有任何建议?
我正在试图建立一个64位输出的MSI安装程序.我正在使用Visual Studio 2017与商店的Installer Projects插件.
我只是找不到将目标设置为64位的方法.
我收到错误:
Building file 'C:\Users\philip\git\foo\Installer\Debug\Installer.msi'...
Building file 'C:\Users\philip\git\foo\Installer\Debug\Installer.msi'...
ERROR: File 'foo.Core.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'
ERROR: File 'foo.Core.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'
WARNING: File 'foo.Core.dll' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'foo.Core.dll' targeting 'x64' is not compatible with the project's target platform 'x86'
Run Code Online (Sandbox Code Playgroud)
当我试图改变目标时,我没有给出任何选择.
有什么想法吗?