dotnet-build-optimization
Installation
SKILL.md
dotnet-build-optimization
Guidance for diagnosing and fixing build performance problems: incremental build failure diagnosis workflows, binary log analysis with MSBuild Structured Log Viewer, parallel build configuration, build caching, and restore optimization. Covers the diagnostic workflow from symptom (full rebuild on every build) through root cause (missing Inputs/Outputs, timestamp corruption, generator side effects) to fix.
Version assumptions: .NET 8.0+ SDK (MSBuild 17.8+). All examples use SDK-style projects.
Scope
- Incremental build failure diagnosis workflows
- Binary log capture and analysis with MSBuild Structured Log Viewer
- Parallel build configuration and graph build mode
- Build caching and NuGet restore optimization
- CI build optimization (NuGet cache, locked restore)