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.

Reply via email to