标签:
ILMerge是合并.net的assembly的工具,最新版的支持.net 4.0的ILmerge下载:
ILMerge用法示例如下:
ILMerge.exe /target:library /targetplatform:v4 /out:"E:\Projects\ILMergeTest\A\Ref\AandB4.dll" "E:\Projects\ILMergeTest\A\A\bin\Debug\*.dll" /wildcards /log:"E:\Projects\ILMergeTest\A\Ref\AandB4.log"
参数说明:
/target:library =》表示生成目标为dll
/targetplatform:v4 =》 编译平台为.net4.0
/out:"E:\Projects\ILMergeTest\A\Ref\AandB4.dll" =》合并后输出文件路径
"E:\Projects\ILMergeTest\A\A\bin\Debug\*.dll" /wildcards =》合并的dll,因为此处使用了通配符,因此需要 .wildcards
/log:"E:\Projects\ILMergeTest\A\Ref\AandB4.log" =》输出合并日志
标签:
原文地址:http://www.cnblogs.com/fourspace/p/4757878.html