【发布时间】:2018-04-19 00:23:05
【问题描述】:
我正在兜圈子,试图为 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'
当我尝试更改目标时,我没有任何选择。
有什么想法吗?
【问题讨论】:
标签: windows-installer visual-studio-2017