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

前端 未结 5 1025
梦如初夏
梦如初夏 2020-12-31 01:49

I\'m having this error on one of build servers. All other servers build it ok. Any ideas what can be wrong?

5条回答
  •  死守一世寂寞
    2020-12-31 02:17

    In my case, I was getting the same error number:

    file_name.wxs(38): error LGHT0094: Unresolved reference to symbol 'WixComponentGroup:Name_of_the_ComponentGroup

    This was because I had moved the ComponentGroup to a different file, and the build script (cmake in my case, maybe you use ant) that calls candle.exe had not been updated to include the .wxs file that now contained the ComponentGroup.

    Updating the cmake script to include the new file fixed the error. And the error message was actually meaningful, since this was an unresolved reference.

提交回复
热议问题