Search code examples
.netwpfilmergefody-costura

Is there any free ilmerge like tool out there which can merge wpf assemblies?


I'm looking for a free tool to merge all of my wpf application's assemblies into a single assembly. Usually, I use ILMerge, but unfortunately, it does not support merging WPF assemblies. Are there any tools out there which can achieve that?

A commercial tool is not an option for me because the application is an open source project.

Best Regards,
Oliver Hanappi


Solution

  • I see two relevant solutions:

    1. Implement your assembly resolution handling at runtime so ilmerge'd WPF assemblies do work: http://blog.mahop.net/post/Merge-WPF-Assemblies.aspx

    2. Use a product that supports it out of the box (Commercial, so not an option in the case below): Merging dlls into a single .exe with wpf