在exe中包括dll? [英] Including dll's in the exe?

查看:136
本文介绍了在exe中包括dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

.NET的Windows应用程序,可以压缩成一个.exe吗?

我有一个依赖于几个DLL的项目,一旦编译它,它需要我在与dll相同的文件夹中运行.exe。我可以将它们打包在一起吗?我不需要这样做。

I have a project that relies on several dlls and once I compile it, it requires that I run the .exe in the same folder with the dlls. Can I package them together so I don't have to do that?

为了参考,我使用C#

推荐答案

您可以使用 ILMerge 将它们组合成一个。

You can use ILMerge to combine them into one.

这篇关于在exe中包括dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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