msbuild-modernization

Official

Modernize MSBuild projects

Authordotnet
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you update legacy MSBuild project files (.csproj, .vbproj) to the modern SDK-style format, simplifying your build process and improving compatibility.

Core Features & Use Cases

  • Identify Legacy Projects: Detects outdated project file structures, packages.config, and AssemblyInfo.cs patterns.
  • Migrate to SDK-style: Guides you through replacing the project root, updating target frameworks, and removing boilerplate.
  • PackageReference Migration: Assists in moving from packages.config to the modern PackageReference format.
  • Consolidate Settings: Explains how to use Directory.Build.props and Directory.Build.targets for shared configurations.
  • Use Case: You have an older .NET Framework project with a large, complex .csproj file and a packages.config. This Skill will guide you to convert it to a lean, SDK-style project compatible with newer .NET versions.

Quick Start

Use the msbuild-modernization skill to convert a legacy .csproj file to SDK-style.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: msbuild-modernization
Download link: https://github.com/dotnet/skills/archive/main.zip#msbuild-modernization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.