Aeo*_*512 8 wix msbuild-projectreference
在WiX项目(*.wixproj)中引用项目时,我经常看到代码片段
<ItemGroup>
<ProjectReference Include="..\Foo.Bar\Foo.Bar.csproj">
<Name>Foo.Bar</Name>
<Project>{0bd367ce-5072-4161-8447-ff4deed97bd4}</Project>
<Private>True</Private>
<DoNotHarvest>True</DoNotHarvest>
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
<RefTargetDir>INSTALLLOCATION</RefTargetDir>
</ProjectReference>
</ItemGroup>
Run Code Online (Sandbox Code Playgroud)
任何人都可以向我解释什么属性DoNotHarvest,RefProjectOutputGroups以及RefTargetDir是什么意思?或者指向一些文档?我找不到任何解释这些属性含义的内容(包括WiX文档).
这些是用于自动参考项目收获的禁用功能.该功能被禁用,因为它被发现有很多错误.
DoNotHarvest为false(双重否定很有趣)时,该功能将重新打开(但其他内容将被破坏).RefProjectOutputGroups列出引用项目的项目输出以包含在生成的项目中ComponentGroup.RefTargetDir指定Directory用于生成的所有内容Components.如上所述,它没有记录,因为该功能目前不起作用.
| 归档时间: |
|
| 查看次数: |
2231 次 |
| 最近记录: |