包括DLL的EXE文件? [英] Including dll's in the exe?

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

问题描述

可能重复:
  <一href="http://stackoverflow.com/questions/126611/net-windows-application-can-it-be-com$p$pssed-into-a-single-exe">.NET Windows应用程序,它可以将COM pressed成一个.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#

For reference, I'm using C#

推荐答案

您可以使用<一个href="http://www.microsoft.com/downloads/details.aspx?FamilyID=22914587-B4AD-4EAE-87CF-B14AE6A939B0&displaylang=en">ILMerge将它们合并成一个。

You can use ILMerge to combine them into one.

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

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