Is there a utility for splitting a single .NET assembly into a subset of a complete assembly? That is, a "functional inverse" ILMerge.exe?
This tool, of course, will be difficult to create if it needs to track dependencies, etc. between classes, functions, etc.
However, I am looking for a case where I have a very large (hundreds of MB) mixed-mode assembly, mostly static classes and static methods, mostly just a library of functions. Although, with some initialization of DLLMain and similar.
What I would like is to list the static methods for certain static classes that I want to keep in the assembly of the subset. Technically, this should be possible, since assembly is just binary information with a standardized format.
So is it, or how can this be done? Or why would it be impractical?
nietras
source share