How to merge two dll into single dll file?

Hi
I just wonder if there is possibility to merge two dll files into one dll file.
I have custom user controls, which is based on third control library (dll file), and I would like to merge this dll file into my dll control. I heard about ILMerge, I haven't tried it. Will it work ?

knoblochAsked:
Who is Participating?
 
vascovConnect With a Mentor Commented:
There's also ILLink (http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=b7560d78-7384-41b0-8ddf-820137305e24)
I think they both to the same. ILDASM the source, and the ilasm one IL only.

hth

Vasco
0
 
gregoryyoungConnect With a Mentor Commented:
http://research.microsoft.com/~mbarnett/ilmerge.aspx but if the other dll is strongly named you will need the .snk to do it.
0
 
vascovCommented:
small typo: "and the ilasm" -> "and then ilasm"

Vasco
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.