Compiling a static .NET executable

  • Thread starter Thread starter mctodd333
  • Start date Start date
M

mctodd333

Hello,
I was wondering if there is a way in .NET to do the following:

Suppose I have a test.exe (I have the source also) which uses lib1.dll
and lib2.dll (which are .NET assemblies); Is it possible to compile the
3 files into 1 static executable so that I don't have to have lib1.dll
and lib2.dll available on the computer I'm running test.exe on?


Thanks,
 
This isn't quite what you're looking for, but will do static linking of .Net
into Native Images.

It's a great, great tool - it allows you to build and deploy .Net
applications withour requiring people to have the .Net framework installed.

http://www.remotesoft.com/linker/
 
Hello,
I was wondering if there is a way in .NET to do the following:

Suppose I have a test.exe (I have the source also) which uses lib1.dll
and lib2.dll (which are .NET assemblies); Is it possible to compile the
3 files into 1 static executable so that I don't have to have lib1.dll
and lib2.dll available on the computer I'm running test.exe on?

See if this is any help:
http://research.microsoft.com/~mbarnett/ILMerge.aspx
 
Hello,
I was wondering if there is a way in .NET to do the following:

Suppose I have a test.exe (I have the source also) which uses lib1.dll
and lib2.dll (which are .NET assemblies); Is it possible to compile the
3 files into 1 static executable so that I don't have to have lib1.dll
and lib2.dll available on the computer I'm running test.exe on?

You can try .Net Reactor at www.eziriz.com. I don't use this feature as my
DLLs are used by multiple executables but it does do this as well as
offering code protection.

PS
 
Back
Top