D
Dan
Hi all
according to a lot articles that I read about .NET assemblies, I understand
that an assembly file always contains a manifest but it is not required for
a non-assembly module or it should not contain a manifest. In a multi-file
assembly scenario, I created a module using the C# compiler as follow:
csc /out:MyModule.mod /t:module MyModule.cs
then I created an assembly that includes this module by doing this:
csc /out:MyAsm.dll /t:library /addmodule:MyModule.mod MyAsm.cs
After I use ILDASM to view their metadata information, nothing unusual for
the assembly file: MyAsm.dll, it comes with the usual manifest and types
metadata and ILs. But when I open MyModule.mod using ILDASM, there is also a
manifest associated with the non-assembly module. Is there a change of
specification? or do I miss anything small print somewhere?
thanks in advance
dan
according to a lot articles that I read about .NET assemblies, I understand
that an assembly file always contains a manifest but it is not required for
a non-assembly module or it should not contain a manifest. In a multi-file
assembly scenario, I created a module using the C# compiler as follow:
csc /out:MyModule.mod /t:module MyModule.cs
then I created an assembly that includes this module by doing this:
csc /out:MyAsm.dll /t:library /addmodule:MyModule.mod MyAsm.cs
After I use ILDASM to view their metadata information, nothing unusual for
the assembly file: MyAsm.dll, it comes with the usual manifest and types
metadata and ILs. But when I open MyModule.mod using ILDASM, there is also a
manifest associated with the non-assembly module. Is there a change of
specification? or do I miss anything small print somewhere?
thanks in advance
dan