migrate-dotnet10-to-dotnet11

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

2|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/sayedihashimi/copilot-skill-eval --skill migrate-dotnet10-to-dotnet11-sayedihashimi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-dotnet10-to-dotnet11
Source: https://github.com/sayedihashimi/copilot-skill-eval/tree/main/examples/aspnet-razor-pages/plugins/dotnet-skills/dotnet-upgrade/skills/migrate-dotnet10-to-dotnet11
Command: npx skills add https://github.com/sayedihashimi/copilot-skill-eval --skill migrate-dotnet10-to-dotnet11-sayedihashimi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Migrate .NET 10 projects to .NET 11 and resolve breaking changes across the upgrade lifecycle, ensuring the project builds and runs on net11.0.

Core Features & Use Cases

  • Update TargetFramework to net11.0 and align project configurations with .NET 11 requirements.
  • Upgrade Microsoft.Extensions.* and other package references to 11.0.x, then restore and validate builds and tests.
  • Provide a repeatable, commit-safe migration workflow that updates infrastructure (CI, Dockerfiles) and records each migration boundary.

Quick Start

Run the migration workflow on your .NET 10 project to upgrade to .NET 11 and verify all changes.

Frequently Asked Questions about migrate-dotnet10-to-dotnet11

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

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

To migrate .NET 10 to .NET 11, update the TargetFramework to net11.0, bump package references to 11.0.x, run restore/build/test, and update CI and Docker configurations. This workflow resolves breaking changes across the upgrade lifecycle.

What breaking changes do I need to resolve when upgrading to .NET 11?

Upgrading to .NET 11 introduces source-breaking and runtime-breaking changes that must be addressed during the restore and build phases. The migration workflow guides resolving these breaking changes using reference materials to ensure builds run on net11.0.

Can I use this migration workflow for projects already targeting net10.0?

Yes, this migration workflow applies specifically to projects already targeting net10.0. It guides updating TFMs, package references, and infrastructure across typical .NET solutions to ensure they build and run on net11.0.

Do I need to update Microsoft.Extensions package references when upgrading to .NET 11?

Yes, upgrading to .NET 11 requires bumping Microsoft.Extensions and other package references to 11.0.x. After updating package references, you must restore and validate builds and tests to ensure alignment with .NET 11 requirements.

What's the best way to update CI and Docker configurations for a .NET 11 migration?

The best way to update CI and Docker configurations for a .NET 11 migration is to follow a repeatable, commit-safe workflow that updates infrastructure alongside TargetFramework and package reference changes, recording each migration boundary to ensure builds run on net11.0.