use-bootstrap-msbuild

Test bug repro projects against a locally-built MSBuild bootstrap.

1.2k|334|Updated Oct 13, 2022
One-click install
npx skills add https://github.com/dotnet/dotnet --skill use-bootstrap-msbuild
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: use-bootstrap-msbuild
Source: https://github.com/dotnet/dotnet/tree/main/src/msbuild/.github/skills/use-bootstrap-msbuild
Command: npx skills add https://github.com/dotnet/dotnet --skill use-bootstrap-msbuild

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers test bug reproduction projects against a locally-built MSBuild bootstrap to verify fixes before submitting a PR, ensuring changes execute in a self-contained environment.

Core Features & Use Cases

  • Bootstrap-based testing: Build a local bootstrap with your changes and use it to compile repro projects.
  • Repro verification across scenarios: Validate fixes for both .NET Core/.NET SDK projects and .NET Framework projects.
  • Clear artifact workflow: Follow consistent steps to locate and use bootstrap outputs during verification.

Quick Start

Build the bootstrap using the provided workflow steps and run your repro project to verify your changes.

Frequently Asked Questions about use-bootstrap-msbuild

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

FAQPage Schema
How do I test MSBuild bug fixes with a local bootstrap build?

Testing MSBuild fixes with a local bootstrap involves building the bootstrap locally with your changes and using it to compile your bug reproduction projects. This verifies your fixes in a self-contained environment before you submit a PR.

Can I verify MSBuild repro projects for both .NET Core and .NET Framework?

Yes, you can verify MSBuild repro projects for both .NET Core/.NET SDK and .NET Framework scenarios. The bootstrap testing workflow validates fixes across both project types using consistent artifact locations and reproducible execution paths.

What is a bootstrap build in MSBuild and when do I need it?

A bootstrap build in MSBuild is a locally-built, self-contained version of the build engine. You need it when iterating MSBuild changes to validate bug repro projects and ensure your fixes execute correctly before submitting a PR.

How do I locate bootstrap artifacts to verify my MSBuild changes?

To locate bootstrap artifacts for verifying MSBuild changes, follow the provided workflow steps which ensure clear artifact locations and reproducible execution paths. These artifacts are used to compile and validate your repro projects locally.

Does bootstrap-based MSBuild testing work without external dependencies?

Yes, bootstrap-based MSBuild testing works without external dependencies by creating a self-contained environment. This approach satisfies the need for reproducible execution paths and clear artifact locations to verify your MSBuild changes locally.