dotnet-aot-compat
Installation
SKILL.md
dotnet-aot-compat
Make .NET projects compatible with Native AOT and trimming by systematically resolving all IL trim/AOT analyzer warnings.
When to Use This Skill
- "Make this project AOT-compatible"
- "Fix trimming warnings" or "fix IL warnings"
- "Resolve IL2070 / IL2067 / IL2072 / IL2026 / IL3050 warnings"
- "Add DynamicallyAccessedMembers annotations"
- "Enable IsAotCompatible in my .csproj"
- "My project has trim analyzer warnings after upgrading to net8.0"
- "Annotate reflection code for the trimmer"
When Not to Use This Skill
Do not use this skill when the project exclusively targets .NET Framework (net4x), which does not support the trim/AOT analyzers.