Codex Modern C# for LangVersion and Framework Compatibility
Choose syntax after checking the repository's SDK, target frameworks, and effective language version. Use the skill for a scoped C# refactor or a compatibility review.
中文Install in Codex
Codex, a .NET SDK, and a C# checkout with readable project files and inherited MSBuild settings.
- Copy the pinned `.codex/skills/modern-csharp/` folder into the target project's `.agents/skills/modern-csharp/`.
- Open the project in Codex and select `$modern-csharp`, naming the project, requested feature, and change scope.
Example task
Use a practice project targeting net9.0 with an explicit C# 13 language version. Ask whether a C# 14 property feature can be used in a one-type refactor.What to check
Expect the effective language setting and a compatible implementation if the project stays on C# 13, plus the build check used to confirm it.
Original SKILL.md on GitHub · Updated
Frequently asked question
Is a newer installed SDK sufficient?
Inspect the pinned SDK, target frameworks, and language settings together to determine the effective compiler behavior.