DLL as embedded resource

A

Alain R.

Hi,

I have 2 dll files that i add to my project as embedded resource.
However, as i need to work with them i add them as references.

Due to the fact they are as references, they are also delivered with my
main exe (which already include them as embedded resource) as stand
alone files.

How i can do to have them only as embedded resource and not as separated
file when i compile my application ?

thanks a lot,

Al.
 
N

Nicholas Paldino [.NET/C# MVP]

Alain,

Why are you embedding them as resources? If you need to add them as
references, then you really need to ship them as separate files.

If you are looking to combine all of your assemblies into one assembly,
then there are special tools to do that for you (mostly commercial). You
can get ILMerge from Microsoft Research, or perform a google search on
"combine assemblies .NET" for more options.
 

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