building-projects

Automate .NET build tool selection, NuGet restores, and solution builds.

19|2|Updated May 13, 2026
One-click install
npx skills add https://github.com/microsoft/upgrade-agent-plugins --skill building-projects
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: building-projects
Source: https://github.com/microsoft/upgrade-agent-plugins/tree/main/plugins/upgrade-agent/extenders/upgrade-dotnet/upgrade/skills/lazy/common/building-projects
Command: npx skills add https://github.com/microsoft/upgrade-agent-plugins --skill building-projects

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the challenge of choosing the right build tool for .NET projects during modernization upgrades, ensuring efficient builds and error recovery.

Core Features & Use Cases

  • Build Tool Selection: Automatically determines whether to use dotnet build or msbuild.exe based on project type and requirements.
  • Build Orchestration: Executes targeted or full solution builds, handles NuGet restores, and manages multi-targeting scenarios.
  • Error Recovery: Diagnoses and recovers from build failures, including handling resource generation issues and WPF/WinForms compilation errors.
  • Use Case: Ideal for modernizing legacy .NET applications by ensuring that builds complete successfully, even for complex scenarios involving multiple target frameworks and resource types.

Quick Start

Use the building-projects skill to build your .NET project with automatic tool selection and error recovery.

Frequently Asked Questions about building-projects

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose between dotnet build and msbuild for a .NET modernization project?▼

The building-projects skill automates .NET build tool selection by evaluating project type and requirements, determining whether to use dotnet build or msbuild.exe for SDK-style and legacy projects.

How do I handle NuGet restores and multi-targeting during a full solution build?▼

To handle NuGet restores and multi-targeting, the building-projects skill orchestrates full solution builds, automatically managing package dependencies and frameworks to ensure modernization workflows complete successfully.

Why does my .NET build fail with WPF or WinForms resource generation errors during an upgrade?▼

Your .NET build fails because legacy WPF or WinForms resource generation requires specific handling; the building-projects skill diagnoses these build failures and applies error recovery to resolve compilation issues.

Does this build orchestration approach work with both legacy and SDK-style .NET projects?▼

Yes, this build orchestration works with both legacy and SDK-style .NET projects, automatically identifying the correct build tool and managing multi-targeting scenarios for modernization workflows.

What is the best way to recover from build failures in complex multi-targeting .NET scenarios?▼

The best way to recover from build failures in multi-targeting .NET scenarios is using the building-projects skill, which diagnoses errors and handles resource generation challenges to ensure builds complete successfully.