If you're upgrading a .NET 8+ project and suddenly drowning in IL2026, IL2070, or IL3050 warnings after enabling Native AOT, this walks you through fixing them systematically. It's opinionated about never suppressing warnings with pragmas (they hide issues from the analyzer but still break at publish time) and instead teaches the annotation flow approach with DynamicallyAccessedMembers. The step-by-step is tight and warning-driven: enable IsAotCompatible, build, let the compiler tell you exactly which lines to fix, apply the pattern, rebuild. It even includes batch strategies for common culprits like JsonSerializer reflection warnings. Good for library authors who need to ship AOT-compatible packages or anyone trying to make an existing codebase trim-safe without guessing.
npx -y skills add dotnet/skills --skill dotnet-aot-compat --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
wshobson/agents
github/awesome-copilot
github/awesome-copilot