Take a look at the ILLink sample from Serge Lidin on www.gotdotnet.com. http://www.gotdotnet.com/community/user/viewprofile.aspx?userid=00037FFE 82117F34
"The utility [is] intended for linking multiple managed modules or assemblies into a single module or assembly." > -----Original Message----- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of > Keith Wedinger > Sent: Friday, May 03, 2002 10:54 AM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] Can C# link statically? > > There is no static linking available in C#. If you want this type of > dependency, make the source containing the class you wish to use a part > of the executable. > > J. Keith Wedinger > Senior Software Developer > Sterling Commerce > [EMAIL PROTECTED] > > > -----Original Message----- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of > David Ferguson > Sent: Friday, May 03, 2002 1:50 PM > To: [EMAIL PROTECTED] > Subject: [DOTNET] Can C# link statically? > > > I would like to use one stand alone class from a compiled assembly, > Utility.dll, of utility classes. > > I would prefer that my application, MyApp.exe, not be dependent on the > existence/location of the source assembly. > > How can I tell C# to grab the relevant MSIL from Utility.dll and put it > in MyApp.exe? > > Thanks...David > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, > or subscribe to other DevelopMentor lists at http://discuss.develop.com. > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.