Embed your .NET dependencies directly into your executable β no installation, no extra DLLs.
Runs after compilation, so it works with any obfuscation tool without interfering.
- β Works with all .NET versions
- β Post-build tool (no build process changes)
- β Compresses assemblies before embedding
- β Memory-only loading (no DLLs dropped to disk)
- β Flexible library selection (manual or auto-detect)
| Tool | Build Process | Memory Loading | Compression | Flexibility |
|---|---|---|---|---|
| EmbedLibrary | Post-build | β Yes | β Yes | β Manual + Auto |
| Costura.Fody | Build-time | β Yes | β Yes (enabled by default, can disable via option) | β Auto only |
| ILMerge | Post-build | β No | β No | β Manual only (Windows / .NET Framework focused) |
- dnlib (Reads and writes .NET assemblies and modules)