Static link with .Dlls possible?

  • Thread starter Thread starter F176
  • Start date Start date
F

F176

Can I include any dlls into my dlls?
If the dll library does not need to be shared, is there any way to include
them into my assembly statically?

Or if I want to package all libraries into one executable file (that will be
run directly without install), is that possible in .NET?
 
What is your goal? You can already copy all of the files of an application
to a single directory and run them, without install. Is the goal that the
user should copy just one file? Why not just create a new solution that has
each of the source files you want, all in the same assembly?

--- Nick
 
Sorry. My description was weak.
My goal is collecting and packing all necessary files into one executable
file.
Reason to do this, is making simple 'one' file being executed directly. (Of
course, the .net framework already installed.)

And the reason that I cannot recompile all sources, not all dlls are not
source.
I have to use some existing binary assembly that with no source.
 
F176 said:
Can I include any dlls into my dlls?
If the dll library does not need to be shared, is there any way to include
them into my assembly statically?

Or if I want to package all libraries into one executable file (that will be
run directly without install), is that possible in .NET?

I recently came across this blog entry that looked like an interesting
(and easy) solution to the problem of linking .NET assemblies into a
single assembly:

http://weblogs.asp.net/justin_rogers/archive/2004/06/07/149964.aspx
 
Back
Top