migrate-dotnet9-to-dotnet10

Migrate .NET 9 projects to .NET 10 and resolve breaking changes.

5.1k|377|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/dotnet/skills --skill migrate-dotnet9-to-dotnet10
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-dotnet9-to-dotnet10
Source: https://github.com/dotnet/skills/tree/main/plugins/dotnet-upgrade/skills/migrate-dotnet9-to-dotnet10
Command: npx skills add https://github.com/dotnet/skills --skill migrate-dotnet9-to-dotnet10

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the complex process of migrating .NET 9 projects to .NET 10, ensuring all breaking changes are addressed and the project builds and runs correctly.

Core Features & Use Cases

  • Target Framework Migration: Updates project files to target net10.0.
  • Dependency Updates: Upgrades relevant NuGet packages to .NET 10 compatible versions.
  • Breaking Change Resolution: Systematically fixes compilation errors and warnings caused by .NET 10 changes in C#, ASP.NET Core, EF Core, and core libraries.
  • Infrastructure Updates: Adapts Dockerfiles and CI/CD pipelines for .NET 10.
  • Use Case: You have a .NET 9 web application and need to upgrade it to .NET 10 to leverage new features and security updates. This Skill will guide you through the entire process, from updating the TFM to resolving specific API changes.

Quick Start

Use the migrate-dotnet9-to-dotnet10 skill to upgrade the project located at '/path/to/your/project.csproj'.

Frequently Asked Questions about migrate-dotnet9-to-dotnet10

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

FAQPage Schema
How do I migrate a .NET 9 project to .NET 10?

To migrate a .NET 9 project to .NET 10, you update the TargetFramework to net10.0, upgrade NuGet packages, and resolve breaking changes across the C# compiler, ASP.NET Core, and EF Core.

What breaking changes do I need to fix when upgrading to .NET 10?

Upgrading to .NET 10 requires fixing source and behavioral incompatibilities, including obsoletions, API renames, and changes in core libraries, ASP.NET Core, and EF Core.

Does upgrading my .NET 9 solution to .NET 10 require updating CI/CD pipelines?

Yes, upgrading a .NET 9 solution to .NET 10 requires adapting your infrastructure, including Dockerfiles and CI/CD pipelines, to ensure the project builds and runs correctly with the new SDK.

Can I automatically resolve C# compiler errors caused by a .NET 10 upgrade?

Yes, you can systematically resolve C# compiler errors and warnings caused by a .NET 10 upgrade by addressing source incompatibilities and applying new language features.

What is the best way to update NuGet packages for a .NET 10 migration?

The best way to update NuGet packages during a .NET 10 migration is to upgrade them to .NET 10 compatible versions systematically while resolving any resulting dependency conflicts.