DLL包括exe.file? [英] DLL include in exe.file?

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

问题描述

我建立在C#中的一个项目。 从另外一个项目中,我有5个的DLL。

I build a project in C#. From another project I have 5 DLLs.

是否有可能包括在EXE的DLL,我只给1文件的人,而不是X档案?

Is It possible to include the DLL in the exe, that I only give 1 File to people and not x files?

我试过ILMerge,但输出文件曾经打开命令提示符与应用程序 - 无用

I tried ILMerge, but the output file ever opened a Command prompt with the application - useless.

推荐答案

您可以合并exe文件,并与<一个DLL的href="http://www.microsoft.com/DownLoads/details.aspx?FamilyID=22914587-b4ad-4eae-87cf-b14ae6a939b0&displaylang=en">ILMerge.exe工具

You can merge the exe and the dlls with the ILMerge.exe tool

lmerge.exe /out:C:\SomePath\TheOnlyOneExe.exe 
    C:\....\bin\Debug\someexe.exe C:\....\bin\Debug\somedll.dll /t:exe

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

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