What problem does it solve?
Inconsistent solution layouts, duplicated build settings, and scattered package versions make .NET repositories hard to maintain, cause version drift, and increase merge conflicts. This Skill prescribes a single, repeatable layout and centralized configuration to reduce duplication and enforce team conventions.
Core Features & Use Cases
- Central package management using Directory.Packages.props to keep package versions singular and auditable.
- Shared build properties via Directory.Build.props to enforce target frameworks, nullable, implicit usings, and compiler rules across projects.
- Modern solution layout with .slnx, src/tests separation, global.json SDK pinning, and clear naming conventions for projects, namespaces, and test projects.
- Use Case: Initialize a new API solution that uses centralized package versions, enforces build settings, separates tests, and is ready for CI with consistent SDK pinning.
Quick Start
Create a repository root with an .slnx solution, add Directory.Build.props and Directory.Packages.props, place source projects under src and tests under tests, and pin the SDK using global.json.