Apparently this error is due to the MSI limitation (http://msdn.microsoft.com/en-us/library/aa370859%28v=VS.85%29.aspx). However it is clear that this limitation can be handled:
![Image]()
I can clearly see that it is candle.exe (not light.exe) who is returning the error. Meaning that validation candle is also a possibility. I googled plenty of references to the same compiler validation error (CNDL0242) but I cannot see why in some cases it is done by candle.exe and in others by light.exe.
Can you please test and see what is the difference in the way the compiler/linker invoked verify by Wix# and WixToolset. The easiest way to do this is to call
This will produce the batch file for building with plain WiX.

I can clearly see that it is candle.exe (not light.exe) who is returning the error. Meaning that validation candle is also a possibility. I googled plenty of references to the same compiler validation error (CNDL0242) but I cannot see why in some cases it is done by candle.exe and in others by light.exe.
Can you please test and see what is the difference in the way the compiler/linker invoked verify by Wix# and WixToolset. The easiest way to do this is to call
var batchFile = Compiler.BuildMsiCmd(project);