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?
I've since found this blog post from Jeffrey Richter and I think it answers adequately my question.
来源:https://stackoverflow.com/questions/3152270/drawbacks-advantages-etc-between-ilmerge-or-resolveassembly-for-embedding-ass