Solved

How to merge two dll into single dll file?

Posted on 2004-08-16
3
303 Views
Last Modified: 2010-05-18
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 ?

0
Comment
Question by:knobloch
  • 2
3 Comments
 
LVL 37

Assisted Solution

by:gregoryyoung
gregoryyoung earned 200 total points
ID: 11815191
http://research.microsoft.com/~mbarnett/ilmerge.aspx but if the other dll is strongly named you will need the .snk to do it.
0
 
LVL 12

Accepted Solution

by:
vascov earned 200 total points
ID: 11816431
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
 
LVL 12

Expert Comment

by:vascov
ID: 11816434
small typo: "and the ilasm" -> "and then ilasm"

Vasco
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question