ILMerge
http://www.microsoft.com/en-hk/download/details.aspx?id=17630
ILMerge 下载地址:http://www.microsoft.com/downloads/details.aspx?familyid=22914587-b4ad-4eae-87cf-b14ae6a939b0&displaylang=en
注意: /v4 选择 .net版本
如果嫌麻烦,要定位到 ilmerge.exe的安装目录麻烦的话,可以在环境变量里设置 path 路径
http://www.microsoft.com/downloads/details.aspx?familyid=22914587-b4ad-4eae-87cf-b1
4ae6a939b0&displaylang=en
ilmerge.exe /ndebug /target:winexe /v4 /out:newclient.exe mainexe.exe /log newdll.dll