VS2017制作安装包关于生成x86或x64报错解决办法

报错如下:

ERROR: File 'System.Data.SQLite.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'

解决办法:

选中安装包项目按下F4弹出属性弹窗修改目标平台

 

 改为

x64即可

猜你喜欢

转载自blog.csdn.net/qq_30725967/article/details/131924436