可能的合并一个DLL到.NET EXE? [英] Possible to merge a DLL into a .NET EXE?

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

问题描述

我有一个DLL存储常用于两个应用程序类。我想保持我的应用程序限制为一个EXE文件,并想看看我是否能以某种方式嵌入在我的主EXE这个DLL。

I have a DLL that stores classes common to two applications. I'd like to keep my application limited to one EXE file and would like to see if I can somehow embed this DLL within my main EXE.

我如何可以嵌入外部DLL到我的应用程序? (如果可能)

How can I embed the external DLL into my application? (if possible)

推荐答案

<一个href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=22914587-b4ad-4eae-87cf-b14ae6a939b0&displaylang=en">http://www.microsoft.com/downloads/en/details.aspx?FamilyID=22914587-b4ad-4eae-87cf-b14ae6a939b0&displaylang=en

ILMerge是合并多个.NET程序集到一个单一的.NET程序集的工具。它的工作原理上的可执行文件和动态链接库的一致好评。它配备了几个选项来控制输出的处理和格式,请参阅随附的文档获取详细信息。

ILMerge is a utility for merging multiple .NET assemblies into a single .NET assembly. It works on executables and dlls alike. It comes with several options for controlling the processing and format of the output, see the accompanying documentation for details.

这篇关于可能的合并一个DLL到.NET EXE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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