我的项目,以前用 WiX 3.0 构建得很好,现在失败了
heat.exe:错误 HEAT5301:无效的项目输出组:Binaries3bSources3bSatellites%3bDocuments。
我在 wix.targets 文件中找到了这个 ProjectOutputGroup,但它看起来像这样:
<CreateItem
Include="@(_MSBuildProjectReferenceExistent)"
Condition=" '%(_MSBuildProjectReferenceExistent.DoNotHarvest)' == '' "
AdditionalMetadata="ProjectOutputGroups=Binaries%3BSymbols%3BSources%3BContent%3BSatellites%3BDocuments;GenerateType=payloadgroup;HeatOutput=$(IntermediateOutputPath)_%(_MSBuildProjectReferenceExistent.Filename).wxs">
<!-- ... -->
</CreateItem>
看起来%
前 2 个值被丢弃了,但最后一个值仍然存在。