vs2019 - 打包 - WARNING: File ‘‘ targeting ‘x64‘ is not compatible with the project‘s

vs2019 - 打包 - WARNING: File ‘’ targeting ‘x64’ is not compatible with the project’s

概述

尝试用VS2019自带的setup插件打包,有警告,如下

------ Pre-build validation for project 'caseSetupPrj' completed ------
------ 已启动全部重新生成: 项目: caseSetupPrj, 配置: Debug ------
Building file 'D:\my_dev\my_local_git_prj\product\xx\src\installer\caseSetupPrj\Debug\caseSetupPrj.msi'...
WARNING: File 'msys-ssl-1.1.dll' targeting 'x64' is not compatible with the project's target platform 'x86'

要打包的程序都是x64的。
看提示,打包工程是x86的。
试了一下,没看到怎么将打包工程改为x64.
看了前排同学的笔记,没找到他们说的工程属性页在哪里啊…
最后才明白,将VS2019右边的属性栏固定住,再点击打包工程的节点就看到了…

笔记

在这里插入图片描述
将打包工程的属性(平台)改为x64
在这里插入图片描述
再打包,就没有这个警告了。0错误,0警告。

已启动重新生成…
------ Starting pre-build validation for project 'caseSetupPrj' ------ 
------ Pre-build validation for project 'caseSetupPrj' completed ------
------ 已启动全部重新生成: 项目: caseSetupPrj, 配置: Debug ------
Building file 'D:\my_dev\my_local_git_prj\product\xx\src\installer\caseSetupPrj\Debug\caseSetupPrj.msi'...
Packaging file 'xx.dll'...
// ...
Packaging file 'xx.dll'...
========== 全部重新生成: 成功 1 个,失败 0 个,跳过 0==========

END

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值