dotnet-project-setup

Create .NET solutions with centralized MSBuild settings and package management.

466|35|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/managedcode/dotnet-skills --skill dotnet-project-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-project-setup
Source: https://github.com/managedcode/dotnet-skills/tree/main/skills/dotnet-project-setup
Command: npx skills add https://github.com/managedcode/dotnet-skills --skill dotnet-project-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation and organization of .NET solutions, ensuring repeatable SDK settings and a maintainable baseline for various project types.

Core Features & Use Cases

  • Project Structuring: Organizes solutions with clear boundaries for libraries, apps, and tests.
  • Build Configuration: Centralizes SDK settings, package management, and build defaults via MSBuild props and targets.
  • Use Case: When starting a new .NET project, use this Skill to establish a robust and scalable directory structure and build configuration from the outset.

Quick Start

Use the dotnet-project-setup skill to create a new .NET solution with a web API project and a core library.

Frequently Asked Questions about dotnet-project-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a clean .NET solution structure for new projects?

To set up a clean .NET solution structure, this Skill organizes libraries, applications, and test projects with defined boundaries and consistent defaults, ensuring a maintainable baseline from the outset.

What is the best way to centralize MSBuild configuration across multiple .NET projects?

The best way to centralize MSBuild configuration is by using Directory.Build.props and Directory.Build.targets files, which this Skill configures to define repeatable SDK settings and build defaults across a solution.

Does Central Package Management work with .NET project templates?

Yes, Central Package Management works with .NET project templates. This Skill uses it to manage package versions across libraries, apps, and tests, ensuring consistent dependencies throughout the solution.

How do I organize test projects within a .NET solution?

To organize test projects within a .NET solution, this Skill establishes clear directory boundaries separating tests from libraries and applications, applying consistent SDK settings and build defaults to maintain structure.

Why use Directory.Build.props for .NET build configuration?

You use Directory.Build.props for .NET build configuration to centralize repeatable SDK settings and package management. This Skill leverages these MSBuild files to apply consistent build defaults across all projects in a solution.