What problem does it solve?
This Skill solves the issue of slow MSBuild builds by providing systematic optimization techniques, performance baselining, and best practices for MSBuild and .NET build environments.
Core Features & Use Cases
- Performance Baseline: Establish before/after measurements for builds, including cold, warm, and no-op scenarios.
- MSBuild Server: Enable and manage the MSBuild server for efficient build execution.
- Artifacts Output Layout: Utilize the UseArtifactsOutput feature for improved build caching and cleaner project structure.
- Deterministic Builds: Ensure reproducibility and caching by enabling deterministic builds.
- Dependency Graph Trimming: Reduce unnecessary project references to enhance build speed.
- Static Graph Builds: Optimize build scheduling and isolation with static graph mode.
- Parallel Build Tuning: Improve build performance through parallelization and resource management.
- Quick Wins: Apply additional tips for further performance enhancement, like separate restore from build and skip unnecessary targets.
- Binary Log Analysis: Utilize binary logs for debugging and optimizing builds.
- Optimization Decision Tree: Navigate a structured approach to optimize based on common build problems.
Quick Start
Run the build-perf-baseline skill to get started on optimizing your MSBuild build performance.