AOT Guru for .NET

•
12
•

Optimizes .NET applications for Native AOT and trimmed single-file deployments by resolving reflection issues and implementing compile-time patterns.

AOT Guru is a specialized optimization skill for the morphir-dotnet ecosystem designed to transform .NET applications into lean, high-performance, single-file executables. It provides deep expertise in navigating the complexities of .NET trimming and Native AOT compilation, offering specific workarounds for reflection-heavy code, guidance on using F# Myriad or C# source generators, and diagnostic support for common IL warnings. Whether you are aiming for immediate size reduction via trimming or long-term Native AOT readiness, this skill automates the configuration and troubleshooting required for modern .NET deployment strategies.

Key Features

0112 GitHub stars
02Implementation of AOT-compatible patterns using C# Source Generators and F# Myriad
03Automated creation of testing scripts for trimmed and AOT build verification
04Diagnosis and resolution of trimming warnings such as IL2026 and IL3050
05Configuration of optimized single-file trimmed executable build properties
06Binary size analysis and footprint reduction through feature switches

Use Cases

01Troubleshooting failed Native AOT or trimmed builds in .NET and F# projects
02Reducing CLI tool binary size for faster distribution and improved startup times
03Refactoring reflection-based logic into compile-time code generation for AOT readiness