Logo
Agent Skills Guide

dotnet-aot-compat

published 2026/03/13

Make .NET projects compatible with Native AOT and trimming by systematically resolving IL trim/AOT analyzer warnings. USE FOR: making projects AOT-compatible, fixing trimming warnings, resolving IL warnings (IL2026, IL2070, IL2067, IL2072, IL3050), adding DynamicallyAccessedMembers annotations, enabling IsAotCompatible. DO NOT USE FOR: publishing native AOT binaries, optimizing binary size, replacing reflection-heavy libraries with alternatives. INVOKES: no tools — pure knowledge skill.

📦 Install Skill

Command line install

Install directly with the `skills` CLI.

npx skills add dotnet/skills/plugins/dotnet-upgrade/skills/dotnet-aot-compat

Local download

Download only this skill directory.

Download dotnet-aot-compat only
File Explorer
0 files
No file selected
readonly

Select a file to view its content