Insert DLLs in EXE

Z

Zamolxe

The problem is, let's say I have an app that uses 25 controls form the
toolbox, now for this app to work you need all dlls in the same dir as
the exe, is there a way to insert them into the exe file?

I have some comps installed and if I drag them to my form and the
compile it in the bin folder the control dll is not present but the app
works, the question is how can I register(if I can not insert them into
the exe)or something the dlls so that they will not be present into the
exe dir?
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

Why you want to do that?

AFAIK there is no direct way to append dlls to an EXE. Maybe a third party
tool can do that.

The reason you are not seeing the dll in your bin dir is cause they are
already registered in your system , most probably in the GAC.

If you add a setup project you will see that those dll are added to your
setup, when you install your setup in another machine those dll will be
copied along with your .EXE



Of course, if the controls you use are the one present in the framework
nothng of the above apply.


cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top