dotnet-upgrade
Overview
Use this skill for .NET upgrades across target frameworks, SDK versions, C# language features, dependencies, workloads, and compatibility targets using dotnet/skills.
Workflow
- Inventory projects, target frameworks, SDK pinning, packages, analyzers, workloads, and CI environments.
- Choose the smallest upgrade path that preserves runtime compatibility and deployment constraints.
- Upgrade framework, packages, source, tests, and configuration in verifiable slices.
- Validate with restore, build, test, and runtime smoke checks where possible.
Guardrails
- Do not skip intermediate compatibility issues by only changing target framework names.
- Preserve public API, serialization, configuration, and database contracts.
- Document unsupported platforms, removed APIs, and workload requirements.
Expected Output
Return an upgrade plan or implementation with compatibility notes, commands run, and remaining blockers.
1---2name: dotnet-upgrade3description: Skills for migrating and upgrading .NET projects across framework versions, language features, and compatibility targets.4license: MIT5---67# dotnet-upgrade89## Overview1011Use this skill for .NET upgrades across target frameworks, SDK versions, C# language features, dependencies, workloads, and compatibility targets using [dotnet/skills](https://github.com/dotnet/skills).1213## Workflow14151. Inventory projects, target frameworks, SDK pinning, packages, analyzers, workloads, and CI environments.162. Choose the smallest upgrade path that preserves runtime compatibility and deployment constraints.173. Upgrade framework, packages, source, tests, and configuration in verifiable slices.184. Validate with restore, build, test, and runtime smoke checks where possible.1920## Guardrails2122- Do not skip intermediate compatibility issues by only changing target framework names.23- Preserve public API, serialization, configuration, and database contracts.24- Document unsupported platforms, removed APIs, and workload requirements.2526## Expected Output2728Return an upgrade plan or implementation with compatibility notes, commands run, and remaining blockers.