I've not played with .netmodule
files much but my understanding is that the .netmodule
needs to be in the same Component
as the assembly
. For example:
<Component>
<File Assembly='.net' Source='path\to\assembly.dll' />
<File Source='path\to\first.netmodule' />
<File Source='path\to\second.netmodule' />
...
</Component>
The Component
will GAC the assembly and carry all the .netmodule
files along with it.