What problem does it solve?
This skill removes the guesswork of setting up a modern .NET repository by showing a standardized layout for build configuration, centralized dependency management, solution format, SDK pinning, and automated versioning.
Core Features & Use Cases
- Modern solution format (.slnx): Use the .NET 9+ XML-based solution format for cleaner diffs and easier collaboration.
- Centralized build configuration (Directory.Build.props): Apply consistent compiler options, metadata, SourceLink, and packaging settings across all projects in the tree.
- Central package version management (Directory.Packages.props): Define package versions once to prevent version drift across apps and tests.
- Deterministic SDK selection (global.json): Pin the .NET SDK to keep builds reproducible across developer machines and CI.
- Release notes-driven version management: Use RELEASE_NOTES.md and build orchestration to update versioning automatically, supporting repeatable release workflows.
- NuGet configuration (NuGet.Config): Ensure predictable package sources for reliable restores and publishes.
Quick Start
Apply this repository template guidance to create a new .NET solution using .slnx with Directory.Build.props, Directory.Packages.props, global.json, and RELEASE_NOTES.md-based version automation.