Everyday maintenance automation and one-shot upgrade commands for .NET 10+, C# 14 applications with Aspire MCP integration.
- .NET 10 SDK or later
- Optional: .NET Aspire 13.1+ (for Aspire MCP server)
- Recommended: microsoft plugin for full MCP functionality (NuGet, Azure, Microsoft Learn)
/plugin install dotnet@claude-code-plugins| Command | Description |
|---|---|
/dotnet:build |
Smart build with fuzzy project matching and optional --fix for MCP-driven error resolution |
/dotnet:clean |
Clean solution with optional --deep for thorough artifact removal |
/dotnet:coverage-report |
Generate and analyze code coverage reports |
/dotnet:fix-warnings |
Analyze and fix compiler/analyzer warnings |
/dotnet:install-sdk |
Install .NET SDK versions via winget/brew |
/dotnet:install-tool |
Install .NET global/local tools |
/dotnet:nullable-audit |
Audit nullable reference type annotations |
/dotnet:publish |
Publish application with various deployment profiles |
/dotnet:solution-health |
Analyze solution for orphaned projects, circular deps, TFM inconsistencies |
/dotnet:update-dotnet-version |
Update target framework and SDK versions |
/dotnet:upgrade-nuget-packages |
Upgrade NuGet packages with compatibility checking |
| Agent | Description |
|---|---|
build-fixer |
Analyzes build errors (CS*, MSB*, NU*, NETSDK*), researches solutions via MCP, applies fixes |
/dotnet:build --fix/dotnet:solution-health/dotnet:upgrade-nuget-packages --all/dotnet:install-sdk 10.0This plugin includes the Aspire MCP server configuration (.mcp.json), which exposes Aspire resources, logs, traces, and commands to Claude Code.
Prerequisites:
- .NET Aspire 13.1+
- Aspire CLI (
aspirecommand) - included withAspire.AppHost.Sdk
Usage: The Aspire MCP server starts via aspire mcp start and is available automatically when the plugin is installed.
The build-fixer agent uses MCP servers for intelligent error resolution:
- microsoft-learn: Official .NET documentation and code samples (via microsoft plugin)
- perplexity: General search for edge cases and community solutions (via research plugin)
- context7: Library-specific documentation (via research plugin)
Note: Install the microsoft and research plugins for full build-fixer functionality.
- microsoft: Microsoft MCP servers (NuGet, Azure, Microsoft Learn) - recommended
- research: Research MCP servers (perplexity, context7) - recommended for build-fixer
- claude-ecosystem: Core Claude Code functionality
- code-quality: Code review and linting
MIT