问题:
File targeting ‘AMD64‘ is not compatible with the project‘s target platform ‘x86‘
解决方法:
在用vs19生成安装包的时候,出现此问题,原因是生成安装包的设置与工程编译的位数不一致引起的,对于此问题可以通过点击F4,将弹出窗体的TargetPlatform属性设置成X64即可。
问题:
File targeting ‘AMD64‘ is not compatible with the project‘s target platform ‘x86‘
解决方法:
在用vs19生成安装包的时候,出现此问题,原因是生成安装包的设置与工程编译的位数不一致引起的,对于此问题可以通过点击F4,将弹出窗体的TargetPlatform属性设置成X64即可。