Drawbacks, advantages, etc. between ILMerge or Res

2019-05-02 09:38发布

问题:

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.

Any thoughts?

回答1:

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