migrate-dotnet10-to-dotnet11

migrate-dotnet10-to-dotnet11 is a skill for Claude Code, Codex from managedcode/dotnet-skills. It costs 199 tokens per session (3,494 once invoked), scanned A, a copy of migrate-dotnet10-to-dotnet11, MIT.

A guide to upgrading a .NET 10 project or solution to .NET 11 and resolving changes in the language, runtime, web framework, and database tools. .NET 11 is treated here as a preview release.

In plain words
What is it for?
Use it to change projects to net11.0, fix .NET 11 or C# 15 upgrade issues, adapt ASP.NET Core or EF Core code, and update CI, Dockerfiles, or deployment scripts.
Why use it?
Moving to a preview framework can reveal build errors, changed behavior, or deployment assumptions that need attention. This focuses that work on the transition from .NET 10 to .NET 11.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/managedcode/dotnet-skills/migrate-dotnet10-to-dotnet11
Any agent
npx skills add managedcode/dotnet-skills --skill migrate-dotnet10-to-dotnet11
Clone the repo
git clone --depth 1 https://github.com/managedcode/dotnet-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migrate-dotnet10-to-dotnet11

README.md
[![agentmods](https://agentmods.dev/badge/skills/managedcode/dotnet-skills/migrate-dotnet10-to-dotnet11.svg)](https://agentmods.dev/skills/managedcode/dotnet-skills/migrate-dotnet10-to-dotnet11)
Your own site
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/migrate-dotnet10-to-dotnet11"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/migrate-dotnet10-to-dotnet11.svg" alt="Measured on agentmods" height="20"></a>
Per session 199 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,494 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00199 $0.03494
Opus 5 $0.00100 $0.01747
Sonnet 5 $0.00040 $0.00699
Haiku 4.5 $0.00020 $0.00349

Measured 2d ago against content hash 63dc826d2cbe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

migrate-dotnet10-to-dotnet11 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to migrate-dotnet10-to-dotnet11 — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

catalog/Platform/Official-DotNet-Upgrade/skills/migrate-dotnet10-to-dotnet11/SKILL.md · 229 lines

How it starts

The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.

.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 TargetFramework from net10.0 to net11.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.0 and 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

Input Required Description
Project or solution path Yes The .csproj, .sln, or .slnx entry point to migrate
Build command No How to build (e.g., dotnet build, a repo build script). Auto-detect if not provided
Test command No How to run tests (e.g., dotnet test). Auto-detect if not provided
Project type hints No Whether the project uses ASP.NET Core, EF Core, Cosmos DB, etc. Auto-detect from PackageReferences and SDK attributes if not provided

Workflow

Answer directly from the loaded reference documents for information about .NET 11 breaking changes. You may inspect the local repository (project/solution files, source code, configuration, build/test scripts) as needed to determine which changes apply. Do not fetch web pages or other external sources for breaking change information — the loaded references are the authoritative source. Focus on identifying which breaking changes apply and providing concrete fixes.

Commit strategy: Commit at each logical boundary — after updating the TFM (Step 2), after resolving build errors (Step 3), after addressing behavioral changes (Step 4), and after updating infrastructure (Step 5). This keeps each commit focused and reviewable.

Read the full file on GitHub · 229 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 229 lines · 199 tokens per session scan A 63dc826d2cbe

Subscribe to this mod's changes

migrate-dotnet10-to-dotnet11 is a skill published in the GitHub repository managedcode/dotnet-skills (477 stars, last pushed yesterday), licensed MIT. It adds 199 tokens to every session and 3,494 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to migrate-dotnet10-to-dotnet11, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

winui-setup

Install and verify the prerequisites the win-dev-skills WinUI 3 toolchain depends on — .NET SDK 8.0.100+, WinApp CLI 0.6+, and Developer Mode. Use only when the user explicitly asks to set up or repair the toolchain. Do not invoke automatically when another skill reports a missing prerequisite; tell the user what is…

microsoft/win-dev-skills · 88 tokens

winui-wpf-migration

Migrate WPF applications to WinUI 3 — namespace replacement (System.Windows → Microsoft.UI.Xaml), control mapping (DataGrid→ListView, WrapPanel→ItemsRepeater, TabControl→TabView), threading (Dispatcher→DispatcherQueue), imaging (System.Drawing→BitmapImage), MVVM conversion to CommunityToolkit.Mvvm, and…

microsoft/win-dev-skills · 100 tokens

opengis-skills

Use when AI coding assistant needs GIS/CAD/C#/AI/IoT/3D domain expertise for 73+ open-source projects. One-stop skill index with tag-based search and on-demand loading for GDAL, GeoServer, QGIS, PostGIS, JTS, CesiumJS, FreeCAD, OpenSCAD, OCCT, NPOI, SqlSugar, Furion, Dify, SuperSplat, Go and more.

znlgis/opengis-skills · 97 tokens

clean-architecture-dotnet

Use when domain logic leaks into API/Infrastructure, project references violate layer boundaries, or you need to decide between CQS (always), CQRS bus (complex domains), and DDD patterns (invariants and events).

SebastienDegodez/copilot-instructions · 50 tokens

creating-dotnet-mcp-servers

Use when building Model Context Protocol (MCP) servers in .NET, configuring tools, transports (SSE/stdio), JSON serialization for AOT, or testing MCP endpoints.

SebastienDegodez/copilot-instructions · 43 tokens

blazor

Use for Blazor Server development with Fluent UI Blazor, Razor components, layouts, pages, scoped UI services, culture switching, localization, forms, loading/empty/error states, and Studio-style dashboard workflows.

AterDev/Perigon.CLI · 45 tokens