What problem does it solve?
This Skill helps you modernize legacy .NET project files (old .csproj/.vbproj) into SDK-style format so builds become simpler, faster to maintain, and consistent across environments.
Core Features & Use Cases
- Legacy-to-SDK detection: Recognizes common indicators like
ToolsVersion, classic <Import> entries, packages.config, and explicit <Compile Include> lists.
- Migration checklist: Covers the required structural changes to the project file, including root element replacement,
TargetFramework updates, removal of explicit includes, and assembly info handling.
- Package and configuration modernization: Guides migration from
packages.config to PackageReference, plus optional improvements like Central Package Management and shared Directory.Build.props consolidation.
- Scope guardrails: Clearly restricts use to MSBuild/.NET build contexts and avoids projects already using SDK-style or non-.NET build systems.
Quick Start
Ask an AI assistant to modernize your legacy .csproj by converting it to SDK-style, migrating packages.config to PackageReference, and simplifying the file by removing explicit compile/content include lists and AssemblyInfo.cs equivalents.