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.