Ilmerge Command Parsing and instance

Source: Internet
Author: User

 

Sometimes the software to be released contains multipleProgramIf you can combine multiple sets into one, it is more convenient to use.

Ilmerge.exe is a tool used to merge multiple sets.

Official Law: http://www.microsoft.com/en-us/download/details.aspx? Id = 17630

After installation, you can use it in a command prompt.

Command content:

Usage: ilmerge [/lib: Directory] * [/log [: Filename] [/Keyfile: filename [/delaysign] [/internalize [: filename] [/T [arget] :( library | exe | winexe)] [/closed] [/ndebug] [/VER: version] [/copyattrs [/allowmultiple] [/keepfirst] [/xmldocs] [/ATTR: Filename]

[/Targetplatform: <version> [, <platformdir>] |/V1 |/V1.1 |/V2 |/v4] [/usefullpublickeyforreferences]

[/Wildcards] [/zeropekind] [/allowdup: type] * [/Union] [/align: N]

/Out: Filename <primary Assembly> [<other assemblies>...]

 

The two parameters are required:/out: Filename <primary Assembly>

Out: Filename indicates the name of the output assembly, and <primary Assembly> indicates the name of the input main assembly. The following is an example:

Ilmerge.exe/T: winexe/targetplatform: v2/out: jihua.cnblogs.com.new.exe jihua.cnblogs.com.exe InterOP. iwshruntimelibrary. dll

Secret,/t: winexe indicates that the target is a Windows application, And/targetplatform: V2 indicates that the target is a. NET 2.0 assembly.

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.