Sean Blakemore's Blog

Like trying to fit a square peg in a round hole

5. April 2012 16:20
by Sean

Doing indecent things with Mono.Cecil - An alternative to ILMerge for WPF

5. April 2012 16:20 by Sean | 0 Comments


ILMerge is a great tool for merging .NET assemblies, when we want to deploy an application as a single executable file we can merge in the dependencies and we’re good to go.

Unfortunately ILMerge doesn’t work on WPF applications because according to the ILMerge page on Microsoft Research:

They contain resources with encoded assembly identities. ILMerge is unable to deserialize the resources, modify the assembly identities, and then re-serialize them.