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
- Inspect
.sln,.csproj,Directory.Build.*,global.json, package props, targets, and CI definitions. - Reproduce the build issue with the smallest command that exercises the failing target.
- Diagnose property, item, target, SDK, package, and workload interactions with build logs when needed.
- 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.