
Migrate Dotnet10 To Dotnet11
This handles the tedious work of upgrading a .NET 10 codebase to .NET 11, including all the breaking changes that come with C# 15, runtime updates, and library changes. It walks through updating target frameworks, fixing build errors from new compiler rules (like span collection expression safe-context changes), addressing EF Core and ASP.NET Core breaking changes, and updating your CI/CD setup. The workflow is methodical with commits at logical boundaries, and it pulls from loaded reference docs covering everything through Preview 3. Use it when you're actually migrating an existing net10.0 project, not for greenfield work or cosmetic refactoring. The skill assumes you already have the .NET 11 SDK installed and starts from there.
- skills.sh installs
- 4.1K
- GitHub stars
- 5.9K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dotnet/skills --skill migrate-dotnet10-to-dotnet11 --agent claude-codeInstalls into .claude/skills of the current project.
Files
.NET 10 → .NET 11 Migration
Migrate a .NET 10 project or solution to .NET 11, systematically resolving all breaking changes. The outcome is a project targeting net11.0 that builds cleanly, passes tests, and accounts for every behavioral, source-incompatible, and binary-incompatible change introduced in .NET 11.
Note: .NET 11 is currently in preview. This skill covers breaking changes documented through Preview 3.
When to Use
- Upgrading
TargetFrameworkfromnet10.0tonet11.0 - Resolving build errors or new warnings after updating the .NET 11 SDK
- Adapting to behavioral changes in .NET 11 runtime, ASP.NET Core 11, or EF Core 11
- Updating CI/CD pipelines, Dockerfiles, or deployment scripts for .NET 11
- Fixing C# 15 compiler breaking changes after SDK upgrade
When Not to Use
- The project already targets
net11.0and builds cleanly — migration is done - Upgrading from .NET 9 or earlier — address the .NET 9→10 breaking changes first
- Migrating from .NET Framework — that is a separate, larger effort
- Greenfield projects that start on .NET 11 (no migration needed)
Inputs
Sponsors
Details
- Repository
- github.com/dotnet/skills
- Categories
- DevOps & CI/CD, Documentation, .NET & C#
- First seen
- Jun 3, 2026
More from dotnet/skills
All 102- Technology Selection4.1K
- Migrate Nullable References4.1K
- Test Smell Detection4.1K
- Mtp Hot Reload4.1K
- Clr Activation Debugging4.1K
- Including Generated Files4.1K
- Migrate Dotnet8 To Dotnet94.1K
- Nuget Trusted Publishing4.1K
- Resolve Project References4.1K
- Generate Testability Wrappers4K
- Create Skill Test4K
- Maui App Lifecycle4K
- Thread Abort Migration4K
- Create Custom Agent4K
- Template Discovery4K
- Template Instantiation4K
- Migrate Static To Wrapper4K
- Migrate Xunit To Xunit V34K
- Test Tagging4K
- Android Tombstone Symbolication4K
- Migrate Vstest To Mtp3.9K
- Template Authoring3.9K
- Migrate Mstest V3 To V43.9K
- Migrate Mstest V1v2 To V33.9K