我正在尝试构建一个已配置为Release | Any CPU的解决方案,其中包含一个配置为x86的Wix安装程序项目。解决方案中的所有内容都构建得很好,但总是跳过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