背景:在VS打包时,进行到“生成”一项时,在下面的输出选项中,输出如下语句:

targeting ‘x64’is not compatible with the project's target platform 'x86'

 

 问题分析:

编译文件为x64,打包生成后的目标文件为x86。x64不兼容打包生成的x86。

解决方式:

解决方案资源管理器中,选中打包的那个文件,按F4,在弹出的属性框中,将TargetPlatform 更改为x64

 

相关文章:

  • 2021-06-06
  • 2021-12-06
  • 2022-12-23
  • 2021-07-14
  • 2022-12-23
  • 2022-12-23
  • 2021-04-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2022-12-23
  • 2021-09-03
  • 2021-09-01
相关资源
相似解决方案