Skip to content
M

msbuild-modernization

Guide for modernizing and migrating MSBuild project files to SDK-style format

by dotnetFree

#4344in AI Skills
0In stores

Description

MSBuild Modernization is an agent skill that guides the move of MSBuild project files from the legacy format to SDK style. It covers legacy…

Highlights

  • Converts legacy .csproj and .vbproj files to SDK style
  • Shows how to spot legacy and SDK-style projects
  • Replaces explicit file lists with implicit globbing
  • Moves packages.config entries to PackageReference items
  • Plans the conversion step by step

Ratings & Reviews

No ratings yet

Be the first to rate msbuild-modernization.

People also visit

M

msbuild-antipatterns

DO NOT INVOKE when the primary request explicitly asks to convert, migrate

AI Skills
Get
P

property-patterns

Diagnose and fix concrete MSBuild property defects in projects

AI Skills
Get
M

migrate-dotnet10-to-dotnet11

Migrate a .NET 10 project or solution to .NET 11

AI Skills
Get
D

directory-build-organization

USE ONLY for (1) two or more projects

AI Skills
Get
M

migrate-dotnet8-to-dotnet9

Migrate a .NET 8 project to .NET 9 and resolve all breaking changes

AI Skills
Get
M

migrate-dotnet9-to-dotnet10

Migrate a .NET 9 project or solution to .NET 10 and resolve all breaking changes

AI Skills
Get

msbuild-modernization FAQ

What is the MSBuild Modernization skill?

It is an instruction set for an AI coding agent that guides a legacy-to-SDK-style migration of .csproj and .vbproj files.

How do I install it?

Run npx skills add https://github.com/dotnet/skills --skill msbuild-modernization in your project.

What does a legacy project look like?

It imports the old C# targets from MSBuildToolsPath, lists every source file explicitly, sets ToolsVersion and may use a packages.config file.

What does an SDK-style project look like?

Its root Project element uses the Microsoft.NET.Sdk attribute, it is short, it has no explicit file includes, and it uses PackageReference items.

Does the skill pass its security audits?

Yes. On skills.sh the audits show Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best msbuild-modernization alternatives?

Popular alternatives to msbuild-modernization include msbuild-antipatterns, property-patterns and migrate-dotnet10-to-dotnet11. See all msbuild-modernization alternatives

Developer Stuff

Badges