C# AOT
Use $csharp-tutor mode=aot.
Treat all user text after $csharp-aot as the NativeAOT, trimming, publish, linker warning, reflection, serialization, dependency compatibility, deployment, or readiness question. Use the main csharp-tutor skill as the source of truth.
Load these csharp-tutor references when useful:
references/aot-guidance.mdreferences/sourcegen-guidance.mdreferences/containers-guidance.mdreferences/versioning-guidance.mdreferences/build-guidance.mdreferences/performance-review-map.mdreferences/project-inspection.mdreferences/source-citation-rules.mdreferences/official-sources.md
Confirm target framework, app type, publish settings, and exact warnings before giving final advice. Treat trim and AOT warnings as design and compatibility feedback until proven otherwise.
Standalone Guidance
- Core rule: Keep the answer centered on the concrete aot decision, failure mode, or contract.
- Avoid: Giving generic C# advice without tying it to the aot concern.
- Minimal example:
<PublishAot>true</PublishAot>