Dotnet Project Structure
Modern .NET project scaffolding covering .slnx solutions, shared build props, central package versions, SourceLink, and SDK pinning.
- CCM score
- 61 of 100
- skills.sh installs
- 731
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers solution layout with the .slnx format, Directory.Build.props, Directory.Packages.props, SourceLink, RELEASE_NOTES.md versioning, and global.json SDK pinning
- Explains how to migrate existing .sln files with
dotnet sln migrateand warns against keeping both formats in one repository - Provides a Directory.Build.props template with shared metadata, C# language settings, warnings-as-errors, and a dynamic copyright year
- Designed for teams starting a new .NET solution or standardizing build configuration across multiple projects
Install
$ npx -y skills add aaronontheweb/dotnet-skills --skill dotnet-project-structure -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
.NET Project Structure and Build Configuration
When to Use This Skill
Use this skill when:
- Setting up a new .NET solution with modern best practices
- Configuring centralized build properties across multiple projects
- Implementing central package version management
- Setting up SourceLink for debugging and NuGet packages
- Automating version management with release notes
- Pinning SDK versions for consistent builds
Related Skills
dotnet-local-tools- Managing local .NET tools with dotnet-tools.jsonmicrosoft-extensions-configuration- Configuration validation patterns
Solution File Format (.slnx)
The .slnx format is the modern XML-based solution file format introduced in .NET 9. It replaces the traditional .sln format.
Benefits Over Traditional .sln
| Aspect | .sln (Legacy) | .slnx (Modern) |
|---|---|---|
| Format | Custom text format | Standard XML |
| Readability | GUIDs, cryptic syntax | Clean, human-readable |
| Version control | Hard to diff/merge | Easy to diff/merge |
| Editing | IDE required | Any text editor |
Version Requirements
Details
- Repository
- github.com/aaronontheweb/dotnet-skills
- Category
- .NET & C#
- First seen
- Jun 3, 2026
Questions
What does the dotnet-project-structure skill help with?
It guides modern .NET project setup, including the .slnx solution format, Directory.Build.props, central package management, SourceLink, version management with RELEASE_NOTES.md, and SDK pinning with global.json. It is aimed at developers setting up new .NET solutions or configuring shared build properties across projects.
How do I install the dotnet-project-structure skill?
Run npx -y skills add aaronontheweb/dotnet-skills --skill dotnet-project-structure -y in a project. Once installed, the agent can use this skill to set up solution files, shared build settings and package versions.
Where does dotnet-project-structure rank in its category?
It sits in the .NET & C# category on Claude Marketplaces, in the top 100 of that category page. Other skills in the category include dotnet-backend-patterns, dotnet-best-practices and nuget-manager, while this one covers project layout and build configuration.
Does the skill explain how to migrate from .sln to .slnx?
Yes, the SKILL.md covers migrating existing solutions with dotnet sln migrate and notes that .sln and .slnx files should not both stay in one repository. It also shows creating new .slnx solutions on .NET 9 and .NET 10.
Which related skills work alongside dotnet-project-structure?
The skill points to dotnet-local-tools for managing local .NET tools with dotnet-tools.json, and microsoft-extensions-configuration for configuration validation patterns. Both cover areas adjacent to project structure.
More from aaronontheweb/dotnet-skills
All 34- Api Design723
- Type Design Performance723
- Ilspy Decompile695
- Package Management644
- Microsoft Extensions Configuration643
- Serialization630
- Testcontainers Integration Tests629
- Dotnet Slopwatch618
- Crap Analysis610
- Playwright Blazor Testing589
- Dotnet Local Tools579
- Aspire Integration Testing552
- Mjml Email Templates541
- Aspire Service Defaults526
- Snapshot Testing515
- Aspire Configuration514
- Dotnet Devcert Trust486
- Skills Index Snippets485
- Playwright Ci Caching483
- Akka Net Best Practices477
- Mailpit Integration471
- OpenTelemetry NET Instrumentation464
- Verify Email Snapshots464
- Akka Hosting Actor Patterns460
Similar to Dotnet Project Structure
More .NET & C#project-structurewshaddix/dotnet-skills546 installsGuidelines for organizing .NET solutions with .slnx files, centralized build props, and central package management.
package-managementaaronontheweb/dotnet-skills644 installsManage NuGet packages through dotnet CLI commands with Central Package Management and shared version variables.
dotnet-local-toolsaaronontheweb/dotnet-skills579 installsManifest-pinned .NET CLI tools that restore identically across developer machines and CI pipelines.
directory-build-organizationdotnet/skills5.4K installsCentralizes shared MSBuild policy, package versions, and build flags across multi-project .NET repos using Directory.Build files.
template-instantiationdotnet/skills4.8K installsCreates .NET projects from templates with validated parameters, workspace-aware CPM adaptation, and multi-project scaffolding.
nuget-managergithub/awesome-copilot15K installsGuardrailed NuGet workflow that adds, removes, and updates package versions in .NET solutions.