dotnet-sdk-style-upgrade
Installation
SKILL.md
Upgrading to SDK-Style Projects
Required Reference: Before proceeding, consult the .NET SDK-style project documentation for authoritative guidance on SDK-style projects.
SDK Selection Guide
Analyze project files to recommend the appropriate SDK:
| Project Type | SDK | Indicators |
|---|---|---|
| Console/Library | Microsoft.NET.Sdk |
No web/UI references |
| ASP.NET Core/Web API | Microsoft.NET.Sdk.Web |
Microsoft.AspNetCore.*, Startup.cs, Controllers |
| Razor Class Library | Microsoft.NET.Sdk.Razor |
.razor files, Razor components |
| Blazor WebAssembly | Microsoft.NET.Sdk.BlazorWebAssembly |
Microsoft.AspNetCore.Components.WebAssembly |
| Worker/Background Service | Microsoft.NET.Sdk.Worker |
IHostedService, BackgroundService |
| WinForms | Microsoft.NET.Sdk + <UseWindowsForms> |
System.Windows.Forms |
| WPF | Microsoft.NET.Sdk + <UseWPF> |
PresentationFramework, .xaml files |
| MSTest | MSTest.Sdk |
Microsoft.VisualStudio.TestTools.UnitTesting |
| .NET Aspire AppHost | Aspire.AppHost.Sdk |
Aspire orchestration project |