EmbeddedFx is a simple library that locates and loads .NET assemblies that have been stored as embedded resources in the manifest of another assembly. It's a bit like a User-defined classloader in Java, but for .NET.
EmbeddedFx aims to overcome some of the issues with ILMerge, specifically the preservation of an embedded assembly's identity. It is based on the technique originally shown by Jeffrey Richter in his book CLR via C#.
Please Note: This repository is no longer maintained. An active project with more complete functionality to EmbeddedFx is the rather excellent Costura plugin for Fody.
The easy way (using Git)
Get the repo and build it from the command line:
"C:\Program Files\Git\bin\git.exe" clone https://github.com/sjwood/EmbeddedFx.git
.\EmbeddedFx\build\build.cmd
Download the repo as a zip and unzip it.
Remove the NTFS Alternate Data Streams from the unzipped contents
(PowerShell will not execute arbitrary scripts downloaded from the
interwebs). Run the build.cmd
file in the build
folder.
EmbeddedFx is released under the Apache 2.0 license