Link to home
Start Free TrialLog in
Avatar of eddyevations
eddyevations

asked on

Importing my dll's into a single console executable file

How can i compile a C# console application so that all of my dependent dll's are compiled into the executable?

Thanks.
SOLUTION
Avatar of Daniel Van Der Werken
Daniel Van Der Werken
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of athapa
athapa

I don't think you can embedd the referenced dll's inside your executable.

You could embed them  in your executable and then extract them during the runtime. But you'd have to load the assembly and acces the classes inside and it won't be as easy as just adding reference to the dependent dlls.

AT
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial