When running Heat to generate a fragment for my installation project, I have two DLLs which generate the following error:
C:\MyInstaller\MyFragment.wxs(9) : error CNDL0010 : The Class/@Server attribute was not found; it is required.
This is in response to a line such as:
<component id="user-content-MyDLL.dll" guid="...">
<class id="user-content-..." context="InprocServer32" description="Stats.Group" threadingmodel="both">
<progid id="user-content-Stats.Group" description="Stats.Group">
</progid></class></component>
Removing the Class definitions allows Candle to compile the fragment.
Logged In: YES
user_id=2057970
Originator: NO
I can't seem to reproduce this issue. Benjamin, could you provide us with the DLL you're using and/or the commandline you're providing to heat, or any other information that might help reproduce the issue?
In my experience, heat doesn't generate the "Server" attribute because the "Server" attribute isn't necessary if the "Class" element is a child of a "File" element (because in this case, the "Server" attribute defaults to the value of the parent File's "Id").
Logged In: YES
user_id=991639
Originator: NO
Resolving due to no new repro steps. Please do reopen bug if you can repro this issue and provide more information.