
Project Structure
If you're spinning up a .NET solution and want to avoid the usual mess of inconsistent package versions and merge conflicts in .sln files, this gives you the modern setup. It covers the new .slnx format that's actually human-readable, Directory.Build.props for shared MSBuild settings, and Directory.Packages.props for central package management so you never have version sprawl across projects again. The SourceLink configuration is in there too if you ship NuGet packages. Honestly most valuable for teams who are tired of fighting their build configuration instead of writing code. Applies to .NET 8 and 9, with specific guidance on when you need newer SDK versions.
- skills.sh installs
- 539
- GitHub stars
- 90
- last updated
- Aug 21, 2026
Install
$ npx -y skills add wshaddix/dotnet-skills --skill project-structure --agent claude-codeInstalls into .claude/skills of the current project.
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
Recommended Solution Layout
MyApp/
├── .config/
│ └── dotnet-tools.json # Local .NET tools
├── .editorconfig
├── .gitignore
├── global.json
├── nuget.config
├── Directory.Build.props
├── Directory.Build.targets
├── Directory.Packages.props
├── MyApp.slnx # .NET 9+ SDK / VS 17.13+
├── src/
│ ├── MyApp.Core/
│ │ └── MyApp.Core.csproj
│ ├── MyApp.Api/
│ │ ├── MyApp.Api.csproj
│ │ ├── Program.cs
│ │ └── appsettings.json
│ └── MyApp.Infrastructure/
│ └── MyApp.Infrastructure.csproj
└── tests/
├── MyApp.UnitTests/
│ └── MyApp.UnitTests.csproj
└── MyApp.IntegrationTests/
└── MyApp.IntegrationTests.csproj
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/wshaddix/dotnet-skills
- Categories
- DevOps & CI/CD, Code Review & Quality, Release Management, Debugging, .NET & C#
- First seen
- Jun 3, 2026
More from wshaddix/dotnet-skills
All 13- Dotnet Domain Modeling538
- Serialization530
- Microsoft Extensions Configuration528
- Package Management518
- Dotnet Testing Strategy619
- Dotnet Xunit619
- Modern Csharp Coding Standards589
- Csharp Wolverinefx572
- Testcontainers569
- Microsoft Extensions Dependency Injection552
- Logging Observability545
- Validation Patterns542
Recommended
More DevOps & CI/CD1
longbridge-sector-rotationlongbridge/skillsSector-rotation snapshot across A-share, HK, and US markets — point-in-time multi-factor scoring of momentum, capital flow, and valuation to rank sectors by cur535skills.sh installs
2
debug-generated-projecttuist/agent-skillsDebugs issues users encounter with Tuist-generated projects by reproducing the scenario locally, building Tuist from source when needed, and triaging whether it533skills.sh installs
3
rebuttalwanshuiyin/auto-claude-code-research-in-sleepWorkflow 4: Submission rebuttal pipeline. Parses external reviews, enforces coverage and grounding, drafts a safe text-only rebuttal under venue limits, and man532skills.sh installs
4
migrate-design-systemplugin87/ux-ui-agent-skillsMap this token system to or from any external design system (Material Design 3, Apple HIG, Fluent, Carbon, Ant, shadcn/ui, Radix, Chakra, Mantine, Bootstrap…) —531skills.sh installs
5
experiment-bridgewanshuiyin/auto-claude-code-research-in-sleepWorkflow 1.5: Bridge between idea discovery and auto review. Reads EXPERIMENT_PLAN.md, implements experiment code, deploys to GPU, collects initial results. Use531skills.sh installs
6
progressive-web-appaj-geddes/useful-ai-promptsBuild progressive web apps using service workers, web manifest, offline support, and installability. Use when creating app-like web experiences.529skills.sh installs