Tim*_*ong 33 64-bit wix build wix3.5
当我创建一个WiX项目并尝试使用平台设置为'x64'来构建它时,我的构建输出中出现错误,如下所示:
------ Build started: Project: MyProject, Configuration: Release x64 ------
C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets(444,7): error : The OutputPath property is not set for this project. Please check to make sure that you have specified a valid Configuration/Platform combination. Configuration='Release' Platform='x64'
Done building project "MyProject.wixproj" -- FAILED.
------ Build started: Project: MyProject, Configuration: Debug x64 ------
C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets(444,7): error : The OutputPath property is not set for this project. Please check to make sure that you have specified a valid Configuration/Platform combination. Configuration='Debug' Platform='x64'
Done building project "MyProject.wixproj" -- FAILED.
Run Code Online (Sandbox Code Playgroud)
它声称没有为项目设置输出路径,但当然有.输出路径设置bin\x64\Debug\
为调试配置和bin\x64\Release\
发布配置.那么错误是什么?
此外,错误不会显示在错误窗口中.现在,我知道责怪编译器是一个新手错误,但我开始怀疑......这是一个构建工具错误,还是我错过了一些愚蠢的东西?
Joh*_*ner 52
如果在文本编辑器中打开.wixproj文件,您将看到x64配置项位于文件的底部(在导入标准WiX构建目标之下),并且您的x86配置位于顶部(在导入之上) ).如果您为x64配置移动XML以使其与x86配置相邻,那么您将发现您的项目适用于两个平台.
flo*_*ele 11
我遇到过同样的问题.然而,在我的情况下,wixproj文件没有格式错误,但是
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
Run Code Online (Sandbox Code Playgroud)
完全失踪了.刚刚制作了x86配置的副本,保存并且一切都很好.
归档时间: |
|
查看次数: |
13344 次 |
最近记录: |