Dotnet Msbuild

Comprehensive MSBuild and .NET build skills: failure diagnosis, performance optimization, code quality, and modernization.

autohandai Updated

File contents

dotnet-msbuild

Overview

Use this skill for MSBuild and .NET build work, including build failures, slow builds, SDK-style modernization, analyzers, targets, props, and CI build behavior using dotnet/skills.

Workflow

  1. Inspect .sln, .csproj, Directory.Build.*, global.json, package props, targets, and CI definitions.
  2. Reproduce the build issue with the smallest command that exercises the failing target.
  3. Diagnose property, item, target, SDK, package, and workload interactions with build logs when needed.
  4. Validate changes with restore/build/test or the affected CI command.

Guardrails

  • Do not flatten project files or remove targets without proving they are unused.
  • Preserve multi-targeting, packaging, analyzers, source generation, and CI behavior.
  • Keep performance and modernization changes measurable.

Expected Output

Return build-focused changes or guidance with the relevant MSBuild evidence and verification.

autohandai/community-skills/tree/main/dotnet-msbuild commit 94d2c08fa2

Frequently asked questions

npx skillmds@latest add autohandai-community-skills/dotnet-msbuild