Solved

How to use ILMerge to link two dlls into one dll file

Posted on 2004-08-17
1
1,461 Views
Last Modified: 2008-01-09
Hi
I have silly question, I just can't make ILMerge to link my two dlls together.
I don't that it’s me or my dlls can't be linked together.
I know there is a manual for ILMerge, but ILMerge has a lot of options and I have no clue how it works.
I have tried every thing and I've got nothing.

I will really appreciate if someone could write for me a sample how to do it. I have never done it before.

Thanks
0
Comment
Question by:knobloch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 22

Accepted Solution

by:
Mohammed Nasman earned 500 total points
ID: 11827896
Hello

 try this

ilmerge /out:c:\mylib.dll c:\lib1.dll c:\lib2.dll /t:library

that's example to merage two libaries into one library and the output type will be library too

/t:libarary or exe
/out : the output filename
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

731 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