wix 3.6 ComponentGroupRef Id="Product.Generated" gives error, wix 3.5 does not
Asked Answered
T

1

9

I just updated wix to 3.6 and after the upgrade my wix project failed to build.

The following line in the xml triggers the error:

<ComponentGroupRef Id="Product.Generated"/>

The error explanation is the following:

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

If I comment out the ComponetGroupRef element, the msi is created without any errors and it seems to work just as before the upgrade to 3.6.

Fails:

<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>

Works:

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

Could anyone shed some light on this error? Am I breaking something that I should be aware of or fix? How important is that entry and what exactly does it do?

Tabasco answered 12/9, 2012 at 13:39 Comment(0)
R
3

Exact same question posted today, LGHT0094: Unresolved reference to symbol 'WixComponentGroup:Product.Generated' in section 'Product:*' You should search before asking a question, apologies came across a little rude there, was in a rush. Always good just to do a quick search before posting, it will prevent downvoting..:)

Raney answered 12/9, 2012 at 14:24 Comment(2)
I have searched plenty in google and also here on stack exchange, so we must have just crossed paths. Also, you have only come to more or less the same conclusions as me in your other answer, that deleting it seems to not break anything. I was hoping for someone to shed some light on what is actually happening.Tabasco
Marking this as answer, as at least the other question seems to have an answer that has helped some people.Tabasco

© 2022 - 2024 — McMap. All rights reserved.