缺点,优点等ILMerge或ResolveAssembly之间嵌入组件? [英] Drawbacks, advantages, etc. between ILMerge or ResolveAssembly for embedding assemblies?

查看:258
本文介绍了缺点,优点等ILMerge或ResolveAssembly之间嵌入组件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我所知道的两种方法嵌入组件到一个应用程序文件:ILMerge并使用ResolveAssembly事件

Currently I know of two methods of embedding assemblies into one application file: ILMerge and using the ResolveAssembly event.

我想知道如果任何人有更多的成功与一个比其他。

I would like to know if anyone have had more success with one over the other.

有没有使用任何的缺陷或者其中之一(性能,安全性,...)?

Is there any drawbacks from using either one of those (performance, security, ...)?

从我的角度来看,它看起来像要随时合并所有的私有组件到应用程序,因为它是更清洁的这种方式,当应用程序被视为一个整体。

From my point of view, it looks like we should always merge all the "private" assemblies into an application as it is more clean this way when the application is considered as a whole.

有什么想法?

推荐答案

因为我已经发现了这个<一href="http://blogs.msdn.com/b/microsoft_$p$pss/archive/2010/02/03/jeffrey-richter-excerpt-2-from-clr-via-c-third-edition.aspx"相对=nofollow>从杰弗里里希特和我的博客文章认为这充分回答我的问题。

I've since found this blog post from Jeffrey Richter and I think it answers adequately my question.

这篇关于缺点,优点等ILMerge或ResolveAssembly之间嵌入组件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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