2012-09-12 34 views
9

我剛更新wix到3.6,升級後我的wix項目無法構建。wix 3.6 ComponentGroupRef Id =「Product.Generated」給出錯誤,wix 3.5不會

在XML中的以下行觸發錯誤:

<ComponentGroupRef Id="Product.Generated"/> 

錯誤的解釋如下:

error LGHT0094: Unresolved reference to symbol 'WixComponentGroup:Product.Generated' in section 'Product:*'. 

如果我註釋掉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> 

任何人都可以揭示出這個錯誤一些輕?我打破了一些我應該知道或修復的東西嗎?該條目有多重要,它究竟做了什麼?

回答

3

今天發佈的確切同樣的問題,LGHT0094: Unresolved reference to symbol 'WixComponentGroup:Product.Generated' in section 'Product:*'你應該在提問之前先搜索一下,道歉在那裏遇到了一點粗魯,很急。總是不錯,只是爲了在發佈之前做一個快速搜索,它會阻止downvoting .. :)

+0

我已經搜索了很多在谷歌,也在這裏在堆棧交換,所以我們必須只是越過路徑。另外,在你的其他答案中,你只能得到或多或少的相同結論,刪除它似乎不會破壞任何東西。我希望有人對實際發生的事情有所瞭解。 – HalfAsleep

+0

標記爲答案,至少另一個問題似乎有一個幫助一些人的答案。 – HalfAsleep