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.