pyro.Avian is a modern, high-performance Roslyn Source Generator designed to automatically embed and fuse external assembly dependencies directly into your final binary.
By leveraging C# 9+ [ModuleInitializer] attributes and an optimized compile-time Base64 delivery pipeline, it hooks into the application lifecycle to load dependencies directly from memory at runtime. This completely eliminates the need to distribute separate physical third-party .dll files alongside your main application or plugin.
Unlike older IL-weaving tools (like Costura.Fody) that disassemble and modify compiled binaries after the build, pyro.Avian operates entirely in-memory during the compilation phase using official Roslyn APIs.
- ⚡ Zero Post-Processing: No binary hacking. Code is generated natively in real-time, matching your IDE workflow perfectly.
- 🛡️ IDE & Debugger Friendly: Since it generates pure C# source text under the hood, breakpoints, debugging, and source maps work out of the box without corruption.
- 📦 Dependency Isolation: Embedded assemblies are resolved via memory streams, protecting your plugins from version conflicts with external files on disk.
Install the package via the .NET CLI:
dotnet add package pyro.Avian