DLL包含在exe.file中? [英] DLL include in exe.file?
本文介绍了DLL包含在exe.file中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从另一个项目我有5个DLL。
是否可以将DLL包含在exe中,我只给人1而不是x文件?
我尝试过ILMerge,但输出文件曾经打开过一个带有应用程序的命令提示符 - 无用。
解决方案
您可以将exe和dll与 ILMerge.exe 工具
lmerge.exe / out :C:\SomePath\TheOnlyOneExe.exe
C:\ .... \bin\Debug\someexe.exe C:\ .... \bin\Debug\ somedll.dll / t:exe
I build a project in C#. From another project I have 5 DLLs.
Is It possible to include the DLL in the exe, that I only give 1 File to people and not x files?
I tried ILMerge, but the output file ever opened a Command prompt with the application - useless.
解决方案
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屋!
查看全文