[英]WiX properties RefProjectOutputGroups RefTargetDir
When referencing projects within WiX projects (*.wixproj) I often saw the code snippet 在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>
Can anyone explain to me what the properties DoNotHarvest
, RefProjectOutputGroups
, and RefTargetDir
mean? 任何人都可以向我解释
DoNotHarvest
, RefProjectOutputGroups
和RefTargetDir
的属性是什么意思? Or point to some documentation? 或者指向一些文档? I couldn't find anything explaining the meaning of these properties (including the WiX documentation).
我找不到任何解释这些属性含义的内容(包括WiX文档)。
Those are disabled features for automatic reference project harvesting. 这些是用于自动参考项目收获的禁用功能。 The feature is disabled because it was found to have many bugs.
该功能被禁用,因为它被发现有很多错误。
DoNotHarvest
to false
(double negatives are fun) the feature will sort of turn back on (but other things will be broken). DoNotHarvest
更改为false
(双重否定很有趣)时,该功能将重新开启(但其他事情将被打破)。 RefProjectOutputGroups
lists the project outputs from the referenced project to include in a generated ComponentGroup
. RefProjectOutputGroups
列出引用项目的项目输出,以包含在生成的ComponentGroup
。 RefTargetDir
specifies the Directory
that is used for all the generated Components
. RefTargetDir
指定Directory
是用于所有生成的Components
。 As noted above, it's not documented because the feature does not currently work. 如上所述,它没有记录,因为该功能目前不起作用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.