DLL打包成单个exe [英] Dll Packaging into single exe

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

问题描述

嘿,我有一个引用很多外部dll的应用程序.我想知道.net中是否有一种方法可以将其合并为单个.exe,以使其真正可移植?

没有ILmerge,我将无法使用它.

Hey, I have an application that references a lot of outside dlls. I would like to know is there a way in .net to merge this into a single .exe for the sake of making it really portable?

Without ILmerge, I could not get it to work.

推荐答案

您必须使用ILMerge,但这仅适用于.NET .DLL.如果您有不是.NET编译的普通库.DLL,则不能这样做.
You have to use ILMerge, but this is only possible with .NET .DLL''s. If you have normal library .DLL''s that were not compiled by .NET, you can''t do it.


我刚去使用了SmartAssembly的试用版 http://www.red-gate.com/products/dotnet-development/smartassembly/ [ ^ ]
I just went and used a trial version of SmartAssembly http://www.red-gate.com/products/dotnet-development/smartassembly/[^]


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

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