gpt4 book ai didi

visual-studio - 在任何 CPU 解决方案中都会跳过 Wix 安装程序项目构建

转载 作者:行者123 更新时间:2023-12-02 17:37:51 24 4
gpt4 key购买 nike

我正在尝试构建一个配置为发布 | 的解决方案任何包含为 x86 配置的 Wix 安装程序项目的 CPU。解决方案中的所有内容都构建得很好,但总是会跳过 Wix 安装程序。

它在 Visual Studio 中构建得很好,但在命令行中存在问题。

我这样调用它:

"C:/Program Files (x86)//Microsoft Visual Studio 10.0/Common7/IDE/devenv.com" /Rebuild "Release|Any CPU" "MySolution.sln"

这就是错误

Skipped Rebuild All: Project: Service.WixInstall, Configuration: Release x86 ----- Project not selected to build for this solution configuration

最佳答案

这不是一个错误;而是一个错误。这仅供您引用。

Project not selected to build for this solution configuration

打开配置管理器,选择解决方案配置和解决方案平台。然后在项目行中,选择项目配置和要使用解决方案构建的项目平台。

How to: Create and Edit Configurations

IIRC,Visual Studio Express 减少了配置功能。如果这对您来说是个问题,您可以使用文本编辑器编辑解决方案文件。

关于visual-studio - 在任何 CPU 解决方案中都会跳过 Wix 安装程序项目构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26499723/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com