合并大会 [英] Merging Assemblies

查看:229
本文介绍了合并大会的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个包含大约17个项目的项目中,意味着17个DLL。我想将一些程序集合在一起。在谷歌搜索之后,我发现了ILMerge。是Ilmerge好吗? n怎么用?有人可以告诉我吗我尝试过,但是当我尝试运行.exe时,有很多错误。



任何人?

解决方案

您首先传递主程序集,然后再运行所有其他程序集,运行ILMerge。使用 / out 选项指定输出程序集,并使用 / targetplatform 选项指定.NET目标版本(和包含参考程序集的目录,通常位于 C:\Program Files\Reference Assemblies\Microsoft\Framework



更多详细信息与ILMerge一起安装的 ILMerge.doc 文件(通常位于 C:\Program Files\Microsoft \ILMerge\ILMerge.doc )。


I m working on a project which contain about 17 projects in it, means 17 DLL's. i want to merge some assemblies together. after googling i found ILMerge . is Ilmerge good ? n how to use it? can anyone tell me ? i tried it but so many errors came when i try to run the .exe.

Anyone ?

解决方案

You run ILMerge by first passing the "primary" assembly, and then all of the other assemblies. Use the /out option to specify the output assembly, and use the /targetplatform option to specify the .NET target version (and directory containing the reference assemblies, usually under C:\Program Files\Reference Assemblies\Microsoft\Framework).

More details are in the ILMerge.doc file installed along with ILMerge (usually at C:\Program Files\Microsoft\ILMerge\ILMerge.doc).

这篇关于合并大会的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆