Groups | Blog | Home
all groups > dotnet clr > august 2003 >

dotnet clr : combining modules into an assembly


Tony Malandain
8/4/2003 11:41:53 AM
Hi,

I'm trying to build a single-file assembly from several
netmodules.
Wether I'm using
csc /target:library assembly.cs /out:myassembly.dll
/addmodule:module1.netmodule /addmodule:module2.netmodule....
or
al module1.netmodule module2.netmodule... /target:library
/out:myassembly.dll
I get a multi-file assembly: the dll created only contains
the manifest and references the netmodule for the IL code
of the classes.

Is there a way to build 1 dll combining both the manifest
and the IL code?
In other words, I'd like to use the netmodules as I used to
use the object files in C/C++

Thanks,
Mattias Sjögren
8/4/2003 9:14:35 PM
Tony,

[quoted text, click to view]

Check out

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=b7560d78-7384-41b0-8ddf-820137305e24



Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
AddThis Social Bookmark Button