ILMerge ...为什么? [英] ILMerge...Why?

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

问题描述

我已经阅读了几个关于使用ILMerge将所有

dll与你的exe组合起来创建一个单独的exe文件的线程....我不明白。


你为什么要这样做?


托德

解决方案

Todd Carnes < to ******** @ gmail.comwrote in message

news:g5 ********** @ aioe.org ...
< blockquote class =post_quotes>
>我已经阅读了几个关于使用ILMerge将你的所有
dll与你的exe组合起来创建一个单独的exe文件的线程....我不知道。


你为什么要这样做?



将产品作为单个.exe文件提供,不需要任何其他

文件或安装程序。这些被称为无安装程序。并且

是一个非常受欢迎的开发(或旧想法的复兴)。


Todd Carnes写道:


我已经阅读了几个关于使用ILMerge将所有

dll与你的exe组合起来创建一个单独的exe文件的线程....我不明白。


你为什么要这样做?



在大多数情况下,这是一个坏主意,因为你获得了多个副本

的DLL中的代码DLL的基本思想。


但它使部署稍微容易一些,在某些情况下可以证明它是合理的。

Arne


Todd,


>

为什么你会想要这样做吗?



我可以问你一个问题吗。


你为什么不想要这样做?


Cor


I have read several threads regarding using ILMerge to combine all your
dlls with your exe to create one single exe file....I don''t get it.

Why would you ever want to do this?

Todd

解决方案

"Todd Carnes" <to********@gmail.comwrote in message
news:g5**********@aioe.org...

>I have read several threads regarding using ILMerge to combine all your
dlls with your exe to create one single exe file....I don''t get it.

Why would you ever want to do this?

To deliver your product as a single .exe file that does not need any other
files or installation procedure. These are called "no-install programs" and
are a very welcome development (or revival of an old idea).


Todd Carnes wrote:

I have read several threads regarding using ILMerge to combine all your
dlls with your exe to create one single exe file....I don''t get it.

Why would you ever want to do this?

In most cases it is a bad idea, because you get multiple copies
of the code in DLL''s which is against the fundamental idea of DLL''s.

But it makes deployment slightly easier and in some cases that can
justify it.

Arne


Todd,

>
Why would you ever want to do this?

May I ask you this with a question.

Why would you never want to do this?

Cor


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

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