C # Call ilmerge to merge DLL

Source: Internet
Author: User

,: Http://www.microsoft.com/downloads/details.aspx? Familyid = 22914587-b4ad-4eae-87cf-b14ae6a939b0
Easy to use
In the Project Properties window, select "generate event" and enter
Ilmerge/ndebug/T: dll/log C:/1/devexpress. data. v7.3.dll C:/1/devexpress. officeskins. v7.3.dll C:/1/devexpress. utils. v7.3.dll C:/1/log4net. dll/out: C:/1/Kkun/tstring. core. DLL
Then, you can merge multiple DLL files into one DLL,
There are two very important parameters. For more parameters, see the Help file after installation.
/Logs are directly followed by the DLL to be merged. Separate multiple DLL files with spaces.
/Out: the name of the DLL to be generated after the parameter. The dll can exist or not exist.
More advanced skills, more help,
Here are some tips. For example, the merged DLL of ilmerge will use the assemblyinfo statement of the first input DLL by default,
Now you can put your own DLL first,
Put third-party DLL files such as log4net and aspnetpager behind them, so that the generated DLL is your own assemblyinfo,
Single ViewProgramThe third-party controls you have used are basically not guessed by others!
TheArticleReposted from Wang Jianhui's blog
Http://www.wangjianhui.com.cn/Blogs/wenzhai/200812/20081226125711.Html
This article is reproduced from Wang Jianhui's blog
Http://www.wangjianhui.com.cn/Blogs/wenzhai/200812/20081226125711.Html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.