Phi*_*ing 12 windows-installer visual-studio-2017
我正在试图建立一个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)
当我试图改变目标时,我没有给出任何选择.
有什么想法吗?
Phi*_*lDW 21
该体系结构在安装项目的属性窗口中指定,这容易引起混淆,与属性页面不同,这就是您在那里显示的内容.
如果在解决方案资源管理器中选择安装项目并单击F4,则可以使用AddRemoveProgramsIcon,Manufacturer等查看属性窗口.在该列表下面是TargetPlatform,您可以在其中指定x86或x64.
| 归档时间: |
|
| 查看次数: |
3740 次 |
| 最近记录: |