Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
wix 3.6 ComponentGroupRef Id=";“生成的产品”;给出错误,wix 3.5不提供_Wix_Wix3.6 - Fatal编程技术网

wix 3.6 ComponentGroupRef Id=";“生成的产品”;给出错误,wix 3.5不提供

wix 3.6 ComponentGroupRef Id=";“生成的产品”;给出错误,wix 3.5不提供,wix,wix3.6,Wix,Wix3.6,我刚刚将wix更新到3.6,升级后,我的wix项目无法构建 xml中的以下行触发错误: <ComponentGroupRef Id="Product.Generated"/> 如果我注释掉ComponetGroupRef元素,那么创建的msi没有任何错误,并且它似乎与升级到3.6之前一样工作 失败: <Feature Id="ProductFeature" Title="My.net Server" Level="1"> <ComponentRef Id="

我刚刚将wix更新到3.6,升级后,我的wix项目无法构建

xml中的以下行触发错误:

<ComponentGroupRef Id="Product.Generated"/>
如果我注释掉ComponetGroupRef元素,那么创建的msi没有任何错误,并且它似乎与升级到3.6之前一样工作

失败:

<Feature Id="ProductFeature" Title="My.net Server" Level="1">
   <ComponentRef Id="My.Server" />
   <ComponentRef Id="My.Server.exe.config"/>
   <!-- Note: The following ComponentGroupRef is required to pull in generated authoring from project references. -->
   <ComponentGroupRef Id="Product.Generated" />
</Feature>

作品:

<Feature Id="ProductFeature" Title="My.net Server" Level="1">
   <ComponentRef Id="My.Server" />
   <ComponentRef Id="My.Server.exe.config"/>
</Feature>


有人能解释一下这个错误吗?我是否破坏了我应该注意或修复的东西?这个条目有多重要?它到底有什么作用?

今天发布的问题与此完全相同,你应该在提问前搜索,道歉有点粗鲁,很匆忙。发布前快速搜索总是很好的,这将防止向下投票:)

我在谷歌搜索了很多,在stack exchange上也搜索了很多,所以我们一定是遇到了问题。另外,在你的另一个回答中,你和我得出的结论大致相同,即删除它似乎不会破坏任何东西。我希望有人能解释一下到底发生了什么。把这个问题作为答案,因为至少另一个问题的答案似乎对一些人有所帮助。
<Feature Id="ProductFeature" Title="My.net Server" Level="1">
   <ComponentRef Id="My.Server" />
   <ComponentRef Id="My.Server.exe.config"/>
</Feature>