wshaddix avatar

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-code

Installs 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

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
1longbridge avatarlongbridge-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
2tuist avatardebug-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
3wanshuiyin avatarrebuttalwanshuiyin/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
4plugin87 avatarmigrate-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
5wanshuiyin avatarexperiment-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
6aj-geddes avatarprogressive-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