Possible Duplicate:
How does the number of classes in an assembly impact performance?
I have a fairly large .Net assembly containing common controls and components. This the VS project file is used in several different VS solutions. Any given application may only require a small subset of the code within the common assembly. Is there any way to customise the build for each application to exclude code which is not required in order to reduce the assembly size. I have looked at ILMerge but can not tell if it is capable of merging then trimming unreachable IL?