[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-dotnet-build-perf-baseline":3,"mdc-tizu70-key":37,"related-org-dotnet-build-perf-baseline":2237,"related-repo-dotnet-build-perf-baseline":2392},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":32,"sourceUrl":35,"mdContent":36},"build-perf-baseline","establish and optimize build performance baselines","Establish build performance baselines and apply systematic optimization techniques. USE FOR: diagnosing slow builds, establishing before\u002Fafter measurements (cold, warm, no-op scenarios), applying optimization strategies like MSBuild Server, static graph builds, artifacts output, and dependency graph trimming. Start here before diving into build-perf-diagnostics, incremental-build, or build-parallelism. DO NOT USE FOR: non-MSBuild build systems, detailed bottleneck analysis (use build-perf-diagnostics after baselining).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"dotnet",".NET (Microsoft)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fdotnet.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Performance","performance","tag",{"name":17,"slug":18,"type":15},"Monitoring","monitoring",{"name":20,"slug":21,"type":15},"Engineering","engineering",{"name":23,"slug":24,"type":15},"Testing","testing",4576,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills","2026-07-12T08:21:35.865649","MIT",332,[31],"agent-skills",{"repoUrl":26,"stars":25,"forks":29,"topics":33,"description":34},[31],"Repository for skills to assist AI coding agents with .NET and C#","https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills\u002Ftree\u002FHEAD\u002Fplugins\u002Fdotnet-msbuild\u002Fskills\u002Fbuild-perf-baseline","---\nname: build-perf-baseline\ndescription: \"Establish build performance baselines and apply systematic optimization techniques. USE FOR: diagnosing slow builds, establishing before\u002Fafter measurements (cold, warm, no-op scenarios), applying optimization strategies like MSBuild Server, static graph builds, artifacts output, and dependency graph trimming. Start here before diving into build-perf-diagnostics, incremental-build, or build-parallelism. DO NOT USE FOR: non-MSBuild build systems, detailed bottleneck analysis (use build-perf-diagnostics after baselining).\"\nlicense: MIT\n---\n\n# Build Performance Baseline & Optimization\n\n## Overview\n\nBefore optimizing a build, you need a **baseline**. Without measurements, optimization is guesswork. This skill covers how to establish baselines and apply systematic optimization techniques.\n\n**Related skills:**\n- `build-perf-diagnostics` — binlog-based bottleneck identification\n- `incremental-build` — Inputs\u002FOutputs and up-to-date checks\n- `build-parallelism` — parallel and graph build tuning\n- `eval-performance` — glob and import chain optimization\n\n---\n\n## Step 1: Establish a Performance Baseline\n\nMeasure three scenarios to understand where time is spent:\n\n### Cold Build (First Build)\n\nNo previous build output exists. Measures the full end-to-end time including restore, compilation, and all targets.\n\n```bash\n# Clean everything first\ndotnet clean\n# Remove bin\u002Fobj to truly start fresh\nGet-ChildItem -Recurse -Directory -Include bin,obj | Remove-Item -Recurse -Force\n# OR on Linux\u002FmacOS:\n# find . -type d \\( -name bin -o -name obj \\) -exec rm -rf {} +\n\n# Measure cold build\ndotnet build \u002Fbl:cold-build.binlog -m\n```\n\n### Warm Build (Incremental Build)\n\nBuild output exists, some files have changed. Measures how well incremental build works.\n\n```bash\n# Build once to populate outputs\ndotnet build -m\n\n# Make a small change (touch one .cs file)\n# Then rebuild\ndotnet build \u002Fbl:warm-build.binlog -m\n```\n\n### No-Op Build (Nothing Changed)\n\nBuild output exists, nothing has changed. This should be nearly instant. If it's slow, incremental build is broken.\n\n```bash\n# Build once to populate outputs\ndotnet build -m\n\n# Rebuild immediately without changes\ndotnet build \u002Fbl:noop-build.binlog -m\n```\n\n### What Good Looks Like\n\n| Scenario | Expected Behavior |\n|----------|------------------|\n| Cold build | Full compilation, all targets run. This is your absolute baseline |\n| Warm build | Only changed projects recompile. Time proportional to change scope |\n| No-op build | \u003C 5 seconds for small repos, \u003C 30 seconds for large repos. All compilation targets should report \"Skipping target — all outputs up-to-date\" |\n\n**Red flags:**\n- No-op build > 30 seconds → incremental build is broken (see `incremental-build` skill)\n- Warm build recompiles everything → project dependency chain forces full rebuild\n- Cold build has long restore → NuGet cache issues\n\n### Recording Baselines\n\nRecord baselines in a structured way before and after optimization:\n\n```\n| Scenario    | Before  | After   | Improvement |\n|-------------|---------|---------|-------------|\n| Cold build  | 2m 15s  |         |             |\n| Warm build  | 1m 40s  |         |             |\n| No-op build | 45s     |         |             |\n```\n\n---\n\n## Step 2: MSBuild Server (Persistent Build Process)\n\nThe MSBuild server keeps the build process alive between invocations, avoiding JIT compilation and assembly loading overhead on every build.\n\n### Enabling MSBuild Server\n\n```bash\n# Enabled by default in .NET 8+ but can be forced\ndotnet build \u002Fp:UseSharedCompilation=true\n```\n\nThe MSBuild server is started automatically and reused across builds. The compiler server (VBCSCompiler \u002F `dotnet build-server`) is separate but complementary.\n\n### Managing the Build Server\n\n```bash\n# Check if the server is running\ndotnet build-server status\n\n# Shut down all build servers (useful when debugging)\ndotnet build-server shutdown\n```\n\n### When to Restart the Build Server\n\nRestart after:\n- Updating the .NET SDK\n- Changing MSBuild tooling (custom tasks, props, targets)\n- Debugging build infrastructure issues\n- Seeing stale behavior in repeated builds\n\n```bash\ndotnet build-server shutdown\ndotnet build\n```\n\n---\n\n## Step 3: Artifacts Output Layout\n\nThe `UseArtifactsOutput` feature (introduced in .NET 8) changes the output directory structure to avoid bin\u002Fobj clash issues and enable better caching.\n\n### Enabling Artifacts Output\n\n```xml\n\u003C!-- Directory.Build.props -->\n\u003CPropertyGroup>\n  \u003CUseArtifactsOutput>true\u003C\u002FUseArtifactsOutput>\n\u003C\u002FPropertyGroup>\n```\n\n### Before vs After\n\n```\n# Traditional layout (before)\nsrc\u002F\n  MyLib\u002F\n    bin\u002FDebug\u002Fnet8.0\u002FMyLib.dll\n    obj\u002FDebug\u002Fnet8.0\u002F...\n  MyApp\u002F\n    bin\u002FDebug\u002Fnet8.0\u002FMyApp.dll\n\n# Artifacts layout (after)\nartifacts\u002F\n  bin\u002FMyLib\u002Fdebug\u002FMyLib.dll\n  bin\u002FMyApp\u002Fdebug\u002FMyApp.dll\n  obj\u002FMyLib\u002Fdebug\u002F...\n  obj\u002FMyApp\u002Fdebug\u002F...\n```\n\n### Benefits\n\n- **No bin\u002Fobj clash**: Each project+configuration gets a unique path automatically\n- **Easier to cache**: Single `artifacts\u002F` directory to cache\u002Frestore in CI\n- **Cleaner .gitignore**: Just ignore `artifacts\u002F`\n- **Multi-targeting safe**: Each TFM gets its own subdirectory\n\n### Customizing\n\n```xml\n\u003C!-- Change the artifacts root -->\n\u003CPropertyGroup>\n  \u003CArtifactsPath>$(MSBuildThisFileDirectory)output\u003C\u002FArtifactsPath>\n\u003C\u002FPropertyGroup>\n```\n\n---\n\n## Step 4: Deterministic Builds\n\nDeterministic builds produce byte-for-byte identical output given the same inputs. This is essential for build caching and reproducibility.\n\n### Enabling Deterministic Builds\n\n```xml\n\u003C!-- Directory.Build.props -->\n\u003CPropertyGroup>\n  \u003C!-- Enabled by default in .NET SDK projects since SDK 2.0+ -->\n  \u003CDeterministic>true\u003C\u002FDeterministic>\n\n  \u003C!-- For full reproducibility, also set: -->\n  \u003CContinuousIntegrationBuild Condition=\"'$(CI)' == 'true'\">true\u003C\u002FContinuousIntegrationBuild>\n\u003C\u002FPropertyGroup>\n```\n\n### What Deterministic Affects\n\n- Removes timestamps from PE headers\n- Uses consistent file paths in PDBs\n- Produces identical output for identical input\n\n### Why It Matters for Performance\n\n- **Build caching**: If outputs are deterministic, you can cache and reuse them across builds and machines\n- **CI optimization**: Skip rebuilding unchanged projects by comparing inputs\n- **Distributed builds**: Safe to cache compilation results in shared storage\n\n---\n\n## Step 5: Dependency Graph Trimming\n\nReducing unnecessary project references shortens the critical path and reduces what gets built.\n\n### Audit the Dependency Graph\n\n```bash\n# Visualize the dependency graph\ndotnet build \u002Fbl:graph.binlog\n\n# In the binlog, check project references and build times\n# Look for projects that are referenced but could be trimmed\n```\n\n### Techniques\n\n#### Remove Redundant Transitive References\n\n```xml\n\u003C!-- BAD: Utils is already referenced transitively via Core -->\n\u003CItemGroup>\n  \u003CProjectReference Include=\"..\\Core\\Core.csproj\" \u002F>\n  \u003CProjectReference Include=\"..\\Utils\\Utils.csproj\" \u002F>\n\u003C\u002FItemGroup>\n\n\u003C!-- GOOD: Let transitive references flow automatically -->\n\u003CItemGroup>\n  \u003CProjectReference Include=\"..\\Core\\Core.csproj\" \u002F>\n\u003C\u002FItemGroup>\n```\n\n#### Build-Order-Only References\n\nWhen you need a project to build before yours but don't need its assembly output:\n\n```xml\n\u003C!-- Only ensures build order, doesn't reference the output assembly -->\n\u003CProjectReference Include=\"..\\CodeGen\\CodeGen.csproj\"\n                  ReferenceOutputAssembly=\"false\" \u002F>\n```\n\n#### Prevent Transitive Flow\n\nWhen a dependency is an internal implementation detail that shouldn't flow to consumers:\n\n```xml\n\u003C!-- Don't expose this dependency transitively -->\n\u003CProjectReference Include=\"..\\InternalHelpers\\InternalHelpers.csproj\"\n                  PrivateAssets=\"all\" \u002F>\n```\n\n#### Disable Transitive Project References\n\nFor explicit-only dependency management (extreme measure for very large repos):\n\n```xml\n\u003CPropertyGroup>\n  \u003CDisableTransitiveProjectReferences>true\u003C\u002FDisableTransitiveProjectReferences>\n\u003C\u002FPropertyGroup>\n```\n\n**Caution**: This requires all dependencies to be listed explicitly. Only use in large repos where transitive closure is causing excessive rebuilds.\n\n---\n\n## Step 6: Static Graph Builds (`\u002Fgraph`)\n\nStatic graph mode evaluates the entire project graph before building, enabling better scheduling and isolation.\n\n### Enabling Graph Build\n\n```bash\n# Single invocation\ndotnet build \u002Fgraph\n\n# With binary log for analysis\ndotnet build \u002Fgraph \u002Fbl:graph-build.binlog\n```\n\n### Benefits\n\n- **Better parallelism**: MSBuild knows the full graph upfront and can schedule optimally\n- **Build isolation**: Each project builds in isolation (no cross-project state leakage)\n- **Caching potential**: With isolation, individual project results can be cached\n\n### When to Use\n\n| Scenario | Recommendation |\n|----------|---------------|\n| Large multi-project solution (20+ projects) | ✅ Try `\u002Fgraph` — may see significant parallelism gains |\n| Small solution (\u003C 5 projects) | ❌ Overhead of graph evaluation outweighs benefits |\n| CI builds | ✅ Graph builds are more predictable and parallelizable |\n| Local development | ⚠️ Test both — may or may not help depending on project structure |\n\n### Troubleshooting Graph Build\n\nGraph build requires that all `ProjectReference` items are statically determinable (no dynamic references computed in targets). If graph build fails:\n\n```\nerror MSB4260: Project reference \"...\" could not be resolved with static graph.\n```\n\n**Fix**: Ensure all `ProjectReference` items are declared in `\u003CItemGroup>` outside of targets (not dynamically computed inside `\u003CTarget>` blocks).\n\n---\n\n## Step 7: Parallel Build Tuning\n\n### MaxCpuCount\n\n```bash\n# Use all available cores (default in dotnet build)\ndotnet build -m\n\n# Specify explicit core count (useful for CI with shared agents)\ndotnet build -m:4\n\n# MSBuild.exe syntax\nmsbuild \u002Fm:8 MySolution.sln\n```\n\n### Identifying Parallelism Bottlenecks\n\nIn a binlog, look for:\n- **Long sequential chains**: Projects that must build one after another due to dependencies\n- **Uneven load**: Some build nodes idle while others are overloaded\n- **Single-project bottleneck**: One large project on the critical path that blocks everything\n\nUse `grep 'Target Performance Summary' -A 30 full.log` in binlog analysis to see build node utilization.\n\n### Reducing the Critical Path\n\nThe critical path is the longest chain of dependent projects. To shorten it:\n\n1. **Break large projects into smaller ones** that can build in parallel\n2. **Remove unnecessary ProjectReferences** (see Step 5)\n3. **Use `ReferenceOutputAssembly=\"false\"`** for build-order-only dependencies\n4. **Move shared code to a base library** that builds first, then parallelize consumers\n\n---\n\n## Step 8: Additional Quick Wins\n\n### Separate Restore from Build\n\n```bash\n# In CI, restore once then build without restore\ndotnet restore\ndotnet build --no-restore -m\ndotnet test --no-build\n```\n\n### Skip Unnecessary Targets\n\n```bash\n# Skip building documentation\ndotnet build \u002Fp:GenerateDocumentationFile=false\n\n# Skip analyzers during development (not for CI!)\ndotnet build \u002Fp:RunAnalyzers=false\n```\n\n### Use Project-Level Filtering\n\n```bash\n# Build only the project you're working on (and its dependencies)\ndotnet build src\u002FMyApp\u002FMyApp.csproj\n\n# Don't build the entire solution if you only need one project\n```\n\n### Binary Log for All Investigations\n\nAlways start with a binlog:\n```bash\ndotnet build \u002Fbl:perf.binlog -m\n```\n\nThen use the `build-perf-diagnostics` skill and binlog tools for systematic bottleneck identification.\n\n---\n\n## Optimization Decision Tree\n\n```\nIs your no-op build slow (> 10s per project)?\n├── YES → See `incremental-build` skill (fix Inputs\u002FOutputs)\n└── NO\n    Is your cold build slow?\n    ├── YES\n    │   Is restore slow?\n    │   ├── YES → Optimize NuGet restore (use lock files, configure local cache)\n    │   └── NO\n    │       Is compilation slow?\n    │       ├── YES\n    │       │   Are analyzers\u002Fgenerators slow?\n    │       │   ├── YES → See `build-perf-diagnostics` skill\n    │       │   └── NO → Check parallelism, graph build, critical path (this skill + `build-parallelism`)\n    │       └── NO → Check custom targets (binlog analysis via `build-perf-diagnostics`)\n    └── NO\n        Is your warm build slow?\n        ├── YES → Projects rebuilding unnecessarily → check `incremental-build` skill\n        └── NO → Build is healthy! Consider graph build or UseArtifactsOutput for further gains\n```\n",{"data":38,"body":39},{"name":4,"description":6,"license":28},{"type":40,"children":41},"root",[42,51,58,72,80,130,134,140,145,152,157,313,319,324,397,403,408,472,478,545,553,578,584,589,599,602,608,613,619,655,668,674,737,743,748,771,805,808,814,827,833,874,880,889,895,951,957,994,997,1003,1008,1014,1081,1087,1105,1111,1144,1147,1153,1158,1164,1218,1224,1231,1315,1321,1326,1357,1363,1368,1399,1405,1410,1439,1449,1452,1466,1471,1477,1544,1549,1582,1588,1668,1674,1687,1696,1729,1732,1738,1744,1838,1844,1849,1882,1895,1901,1906,1955,1958,1964,1970,2034,2040,2111,2117,2163,2169,2174,2201,2213,2216,2222,2231],{"type":43,"tag":44,"props":45,"children":47},"element","h1",{"id":46},"build-performance-baseline-optimization",[48],{"type":49,"value":50},"text","Build Performance Baseline & Optimization",{"type":43,"tag":52,"props":53,"children":55},"h2",{"id":54},"overview",[56],{"type":49,"value":57},"Overview",{"type":43,"tag":59,"props":60,"children":61},"p",{},[62,64,70],{"type":49,"value":63},"Before optimizing a build, you need a ",{"type":43,"tag":65,"props":66,"children":67},"strong",{},[68],{"type":49,"value":69},"baseline",{"type":49,"value":71},". Without measurements, optimization is guesswork. This skill covers how to establish baselines and apply systematic optimization techniques.",{"type":43,"tag":59,"props":73,"children":74},{},[75],{"type":43,"tag":65,"props":76,"children":77},{},[78],{"type":49,"value":79},"Related skills:",{"type":43,"tag":81,"props":82,"children":83},"ul",{},[84,97,108,119],{"type":43,"tag":85,"props":86,"children":87},"li",{},[88,95],{"type":43,"tag":89,"props":90,"children":92},"code",{"className":91},[],[93],{"type":49,"value":94},"build-perf-diagnostics",{"type":49,"value":96}," — binlog-based bottleneck identification",{"type":43,"tag":85,"props":98,"children":99},{},[100,106],{"type":43,"tag":89,"props":101,"children":103},{"className":102},[],[104],{"type":49,"value":105},"incremental-build",{"type":49,"value":107}," — Inputs\u002FOutputs and up-to-date checks",{"type":43,"tag":85,"props":109,"children":110},{},[111,117],{"type":43,"tag":89,"props":112,"children":114},{"className":113},[],[115],{"type":49,"value":116},"build-parallelism",{"type":49,"value":118}," — parallel and graph build tuning",{"type":43,"tag":85,"props":120,"children":121},{},[122,128],{"type":43,"tag":89,"props":123,"children":125},{"className":124},[],[126],{"type":49,"value":127},"eval-performance",{"type":49,"value":129}," — glob and import chain optimization",{"type":43,"tag":131,"props":132,"children":133},"hr",{},[],{"type":43,"tag":52,"props":135,"children":137},{"id":136},"step-1-establish-a-performance-baseline",[138],{"type":49,"value":139},"Step 1: Establish a Performance Baseline",{"type":43,"tag":59,"props":141,"children":142},{},[143],{"type":49,"value":144},"Measure three scenarios to understand where time is spent:",{"type":43,"tag":146,"props":147,"children":149},"h3",{"id":148},"cold-build-first-build",[150],{"type":49,"value":151},"Cold Build (First Build)",{"type":43,"tag":59,"props":153,"children":154},{},[155],{"type":49,"value":156},"No previous build output exists. Measures the full end-to-end time including restore, compilation, and all targets.",{"type":43,"tag":158,"props":159,"children":164},"pre",{"className":160,"code":161,"language":162,"meta":163,"style":163},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Clean everything first\ndotnet clean\n# Remove bin\u002Fobj to truly start fresh\nGet-ChildItem -Recurse -Directory -Include bin,obj | Remove-Item -Recurse -Force\n# OR on Linux\u002FmacOS:\n# find . -type d \\( -name bin -o -name obj \\) -exec rm -rf {} +\n\n# Measure cold build\ndotnet build \u002Fbl:cold-build.binlog -m\n","bash","",[165],{"type":43,"tag":89,"props":166,"children":167},{"__ignoreMap":163},[168,180,195,204,253,262,271,281,290],{"type":43,"tag":169,"props":170,"children":173},"span",{"class":171,"line":172},"line",1,[174],{"type":43,"tag":169,"props":175,"children":177},{"style":176},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[178],{"type":49,"value":179},"# Clean everything first\n",{"type":43,"tag":169,"props":181,"children":183},{"class":171,"line":182},2,[184,189],{"type":43,"tag":169,"props":185,"children":187},{"style":186},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[188],{"type":49,"value":8},{"type":43,"tag":169,"props":190,"children":192},{"style":191},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[193],{"type":49,"value":194}," clean\n",{"type":43,"tag":169,"props":196,"children":198},{"class":171,"line":197},3,[199],{"type":43,"tag":169,"props":200,"children":201},{"style":176},[202],{"type":49,"value":203},"# Remove bin\u002Fobj to truly start fresh\n",{"type":43,"tag":169,"props":205,"children":207},{"class":171,"line":206},4,[208,213,218,223,228,233,239,244,248],{"type":43,"tag":169,"props":209,"children":210},{"style":186},[211],{"type":49,"value":212},"Get-ChildItem",{"type":43,"tag":169,"props":214,"children":215},{"style":191},[216],{"type":49,"value":217}," -Recurse",{"type":43,"tag":169,"props":219,"children":220},{"style":191},[221],{"type":49,"value":222}," -Directory",{"type":43,"tag":169,"props":224,"children":225},{"style":191},[226],{"type":49,"value":227}," -Include",{"type":43,"tag":169,"props":229,"children":230},{"style":191},[231],{"type":49,"value":232}," bin,obj",{"type":43,"tag":169,"props":234,"children":236},{"style":235},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[237],{"type":49,"value":238}," |",{"type":43,"tag":169,"props":240,"children":241},{"style":186},[242],{"type":49,"value":243}," Remove-Item",{"type":43,"tag":169,"props":245,"children":246},{"style":191},[247],{"type":49,"value":217},{"type":43,"tag":169,"props":249,"children":250},{"style":191},[251],{"type":49,"value":252}," -Force\n",{"type":43,"tag":169,"props":254,"children":256},{"class":171,"line":255},5,[257],{"type":43,"tag":169,"props":258,"children":259},{"style":176},[260],{"type":49,"value":261},"# OR on Linux\u002FmacOS:\n",{"type":43,"tag":169,"props":263,"children":265},{"class":171,"line":264},6,[266],{"type":43,"tag":169,"props":267,"children":268},{"style":176},[269],{"type":49,"value":270},"# find . -type d \\( -name bin -o -name obj \\) -exec rm -rf {} +\n",{"type":43,"tag":169,"props":272,"children":274},{"class":171,"line":273},7,[275],{"type":43,"tag":169,"props":276,"children":278},{"emptyLinePlaceholder":277},true,[279],{"type":49,"value":280},"\n",{"type":43,"tag":169,"props":282,"children":284},{"class":171,"line":283},8,[285],{"type":43,"tag":169,"props":286,"children":287},{"style":176},[288],{"type":49,"value":289},"# Measure cold build\n",{"type":43,"tag":169,"props":291,"children":293},{"class":171,"line":292},9,[294,298,303,308],{"type":43,"tag":169,"props":295,"children":296},{"style":186},[297],{"type":49,"value":8},{"type":43,"tag":169,"props":299,"children":300},{"style":191},[301],{"type":49,"value":302}," build",{"type":43,"tag":169,"props":304,"children":305},{"style":191},[306],{"type":49,"value":307}," \u002Fbl:cold-build.binlog",{"type":43,"tag":169,"props":309,"children":310},{"style":191},[311],{"type":49,"value":312}," -m\n",{"type":43,"tag":146,"props":314,"children":316},{"id":315},"warm-build-incremental-build",[317],{"type":49,"value":318},"Warm Build (Incremental Build)",{"type":43,"tag":59,"props":320,"children":321},{},[322],{"type":49,"value":323},"Build output exists, some files have changed. Measures how well incremental build works.",{"type":43,"tag":158,"props":325,"children":327},{"className":160,"code":326,"language":162,"meta":163,"style":163},"# Build once to populate outputs\ndotnet build -m\n\n# Make a small change (touch one .cs file)\n# Then rebuild\ndotnet build \u002Fbl:warm-build.binlog -m\n",[328],{"type":43,"tag":89,"props":329,"children":330},{"__ignoreMap":163},[331,339,354,361,369,377],{"type":43,"tag":169,"props":332,"children":333},{"class":171,"line":172},[334],{"type":43,"tag":169,"props":335,"children":336},{"style":176},[337],{"type":49,"value":338},"# Build once to populate outputs\n",{"type":43,"tag":169,"props":340,"children":341},{"class":171,"line":182},[342,346,350],{"type":43,"tag":169,"props":343,"children":344},{"style":186},[345],{"type":49,"value":8},{"type":43,"tag":169,"props":347,"children":348},{"style":191},[349],{"type":49,"value":302},{"type":43,"tag":169,"props":351,"children":352},{"style":191},[353],{"type":49,"value":312},{"type":43,"tag":169,"props":355,"children":356},{"class":171,"line":197},[357],{"type":43,"tag":169,"props":358,"children":359},{"emptyLinePlaceholder":277},[360],{"type":49,"value":280},{"type":43,"tag":169,"props":362,"children":363},{"class":171,"line":206},[364],{"type":43,"tag":169,"props":365,"children":366},{"style":176},[367],{"type":49,"value":368},"# Make a small change (touch one .cs file)\n",{"type":43,"tag":169,"props":370,"children":371},{"class":171,"line":255},[372],{"type":43,"tag":169,"props":373,"children":374},{"style":176},[375],{"type":49,"value":376},"# Then rebuild\n",{"type":43,"tag":169,"props":378,"children":379},{"class":171,"line":264},[380,384,388,393],{"type":43,"tag":169,"props":381,"children":382},{"style":186},[383],{"type":49,"value":8},{"type":43,"tag":169,"props":385,"children":386},{"style":191},[387],{"type":49,"value":302},{"type":43,"tag":169,"props":389,"children":390},{"style":191},[391],{"type":49,"value":392}," \u002Fbl:warm-build.binlog",{"type":43,"tag":169,"props":394,"children":395},{"style":191},[396],{"type":49,"value":312},{"type":43,"tag":146,"props":398,"children":400},{"id":399},"no-op-build-nothing-changed",[401],{"type":49,"value":402},"No-Op Build (Nothing Changed)",{"type":43,"tag":59,"props":404,"children":405},{},[406],{"type":49,"value":407},"Build output exists, nothing has changed. This should be nearly instant. If it's slow, incremental build is broken.",{"type":43,"tag":158,"props":409,"children":411},{"className":160,"code":410,"language":162,"meta":163,"style":163},"# Build once to populate outputs\ndotnet build -m\n\n# Rebuild immediately without changes\ndotnet build \u002Fbl:noop-build.binlog -m\n",[412],{"type":43,"tag":89,"props":413,"children":414},{"__ignoreMap":163},[415,422,437,444,452],{"type":43,"tag":169,"props":416,"children":417},{"class":171,"line":172},[418],{"type":43,"tag":169,"props":419,"children":420},{"style":176},[421],{"type":49,"value":338},{"type":43,"tag":169,"props":423,"children":424},{"class":171,"line":182},[425,429,433],{"type":43,"tag":169,"props":426,"children":427},{"style":186},[428],{"type":49,"value":8},{"type":43,"tag":169,"props":430,"children":431},{"style":191},[432],{"type":49,"value":302},{"type":43,"tag":169,"props":434,"children":435},{"style":191},[436],{"type":49,"value":312},{"type":43,"tag":169,"props":438,"children":439},{"class":171,"line":197},[440],{"type":43,"tag":169,"props":441,"children":442},{"emptyLinePlaceholder":277},[443],{"type":49,"value":280},{"type":43,"tag":169,"props":445,"children":446},{"class":171,"line":206},[447],{"type":43,"tag":169,"props":448,"children":449},{"style":176},[450],{"type":49,"value":451},"# Rebuild immediately without changes\n",{"type":43,"tag":169,"props":453,"children":454},{"class":171,"line":255},[455,459,463,468],{"type":43,"tag":169,"props":456,"children":457},{"style":186},[458],{"type":49,"value":8},{"type":43,"tag":169,"props":460,"children":461},{"style":191},[462],{"type":49,"value":302},{"type":43,"tag":169,"props":464,"children":465},{"style":191},[466],{"type":49,"value":467}," \u002Fbl:noop-build.binlog",{"type":43,"tag":169,"props":469,"children":470},{"style":191},[471],{"type":49,"value":312},{"type":43,"tag":146,"props":473,"children":475},{"id":474},"what-good-looks-like",[476],{"type":49,"value":477},"What Good Looks Like",{"type":43,"tag":479,"props":480,"children":481},"table",{},[482,501],{"type":43,"tag":483,"props":484,"children":485},"thead",{},[486],{"type":43,"tag":487,"props":488,"children":489},"tr",{},[490,496],{"type":43,"tag":491,"props":492,"children":493},"th",{},[494],{"type":49,"value":495},"Scenario",{"type":43,"tag":491,"props":497,"children":498},{},[499],{"type":49,"value":500},"Expected Behavior",{"type":43,"tag":502,"props":503,"children":504},"tbody",{},[505,519,532],{"type":43,"tag":487,"props":506,"children":507},{},[508,514],{"type":43,"tag":509,"props":510,"children":511},"td",{},[512],{"type":49,"value":513},"Cold build",{"type":43,"tag":509,"props":515,"children":516},{},[517],{"type":49,"value":518},"Full compilation, all targets run. This is your absolute baseline",{"type":43,"tag":487,"props":520,"children":521},{},[522,527],{"type":43,"tag":509,"props":523,"children":524},{},[525],{"type":49,"value":526},"Warm build",{"type":43,"tag":509,"props":528,"children":529},{},[530],{"type":49,"value":531},"Only changed projects recompile. Time proportional to change scope",{"type":43,"tag":487,"props":533,"children":534},{},[535,540],{"type":43,"tag":509,"props":536,"children":537},{},[538],{"type":49,"value":539},"No-op build",{"type":43,"tag":509,"props":541,"children":542},{},[543],{"type":49,"value":544},"\u003C 5 seconds for small repos, \u003C 30 seconds for large repos. All compilation targets should report \"Skipping target — all outputs up-to-date\"",{"type":43,"tag":59,"props":546,"children":547},{},[548],{"type":43,"tag":65,"props":549,"children":550},{},[551],{"type":49,"value":552},"Red flags:",{"type":43,"tag":81,"props":554,"children":555},{},[556,568,573],{"type":43,"tag":85,"props":557,"children":558},{},[559,561,566],{"type":49,"value":560},"No-op build > 30 seconds → incremental build is broken (see ",{"type":43,"tag":89,"props":562,"children":564},{"className":563},[],[565],{"type":49,"value":105},{"type":49,"value":567}," skill)",{"type":43,"tag":85,"props":569,"children":570},{},[571],{"type":49,"value":572},"Warm build recompiles everything → project dependency chain forces full rebuild",{"type":43,"tag":85,"props":574,"children":575},{},[576],{"type":49,"value":577},"Cold build has long restore → NuGet cache issues",{"type":43,"tag":146,"props":579,"children":581},{"id":580},"recording-baselines",[582],{"type":49,"value":583},"Recording Baselines",{"type":43,"tag":59,"props":585,"children":586},{},[587],{"type":49,"value":588},"Record baselines in a structured way before and after optimization:",{"type":43,"tag":158,"props":590,"children":594},{"className":591,"code":593,"language":49},[592],"language-text","| Scenario    | Before  | After   | Improvement |\n|-------------|---------|---------|-------------|\n| Cold build  | 2m 15s  |         |             |\n| Warm build  | 1m 40s  |         |             |\n| No-op build | 45s     |         |             |\n",[595],{"type":43,"tag":89,"props":596,"children":597},{"__ignoreMap":163},[598],{"type":49,"value":593},{"type":43,"tag":131,"props":600,"children":601},{},[],{"type":43,"tag":52,"props":603,"children":605},{"id":604},"step-2-msbuild-server-persistent-build-process",[606],{"type":49,"value":607},"Step 2: MSBuild Server (Persistent Build Process)",{"type":43,"tag":59,"props":609,"children":610},{},[611],{"type":49,"value":612},"The MSBuild server keeps the build process alive between invocations, avoiding JIT compilation and assembly loading overhead on every build.",{"type":43,"tag":146,"props":614,"children":616},{"id":615},"enabling-msbuild-server",[617],{"type":49,"value":618},"Enabling MSBuild Server",{"type":43,"tag":158,"props":620,"children":622},{"className":160,"code":621,"language":162,"meta":163,"style":163},"# Enabled by default in .NET 8+ but can be forced\ndotnet build \u002Fp:UseSharedCompilation=true\n",[623],{"type":43,"tag":89,"props":624,"children":625},{"__ignoreMap":163},[626,634],{"type":43,"tag":169,"props":627,"children":628},{"class":171,"line":172},[629],{"type":43,"tag":169,"props":630,"children":631},{"style":176},[632],{"type":49,"value":633},"# Enabled by default in .NET 8+ but can be forced\n",{"type":43,"tag":169,"props":635,"children":636},{"class":171,"line":182},[637,641,645,650],{"type":43,"tag":169,"props":638,"children":639},{"style":186},[640],{"type":49,"value":8},{"type":43,"tag":169,"props":642,"children":643},{"style":191},[644],{"type":49,"value":302},{"type":43,"tag":169,"props":646,"children":647},{"style":191},[648],{"type":49,"value":649}," \u002Fp:UseSharedCompilation=",{"type":43,"tag":169,"props":651,"children":652},{"style":235},[653],{"type":49,"value":654},"true\n",{"type":43,"tag":59,"props":656,"children":657},{},[658,660,666],{"type":49,"value":659},"The MSBuild server is started automatically and reused across builds. The compiler server (VBCSCompiler \u002F ",{"type":43,"tag":89,"props":661,"children":663},{"className":662},[],[664],{"type":49,"value":665},"dotnet build-server",{"type":49,"value":667},") is separate but complementary.",{"type":43,"tag":146,"props":669,"children":671},{"id":670},"managing-the-build-server",[672],{"type":49,"value":673},"Managing the Build Server",{"type":43,"tag":158,"props":675,"children":677},{"className":160,"code":676,"language":162,"meta":163,"style":163},"# Check if the server is running\ndotnet build-server status\n\n# Shut down all build servers (useful when debugging)\ndotnet build-server shutdown\n",[678],{"type":43,"tag":89,"props":679,"children":680},{"__ignoreMap":163},[681,689,706,713,721],{"type":43,"tag":169,"props":682,"children":683},{"class":171,"line":172},[684],{"type":43,"tag":169,"props":685,"children":686},{"style":176},[687],{"type":49,"value":688},"# Check if the server is running\n",{"type":43,"tag":169,"props":690,"children":691},{"class":171,"line":182},[692,696,701],{"type":43,"tag":169,"props":693,"children":694},{"style":186},[695],{"type":49,"value":8},{"type":43,"tag":169,"props":697,"children":698},{"style":191},[699],{"type":49,"value":700}," build-server",{"type":43,"tag":169,"props":702,"children":703},{"style":191},[704],{"type":49,"value":705}," status\n",{"type":43,"tag":169,"props":707,"children":708},{"class":171,"line":197},[709],{"type":43,"tag":169,"props":710,"children":711},{"emptyLinePlaceholder":277},[712],{"type":49,"value":280},{"type":43,"tag":169,"props":714,"children":715},{"class":171,"line":206},[716],{"type":43,"tag":169,"props":717,"children":718},{"style":176},[719],{"type":49,"value":720},"# Shut down all build servers (useful when debugging)\n",{"type":43,"tag":169,"props":722,"children":723},{"class":171,"line":255},[724,728,732],{"type":43,"tag":169,"props":725,"children":726},{"style":186},[727],{"type":49,"value":8},{"type":43,"tag":169,"props":729,"children":730},{"style":191},[731],{"type":49,"value":700},{"type":43,"tag":169,"props":733,"children":734},{"style":191},[735],{"type":49,"value":736}," shutdown\n",{"type":43,"tag":146,"props":738,"children":740},{"id":739},"when-to-restart-the-build-server",[741],{"type":49,"value":742},"When to Restart the Build Server",{"type":43,"tag":59,"props":744,"children":745},{},[746],{"type":49,"value":747},"Restart after:",{"type":43,"tag":81,"props":749,"children":750},{},[751,756,761,766],{"type":43,"tag":85,"props":752,"children":753},{},[754],{"type":49,"value":755},"Updating the .NET SDK",{"type":43,"tag":85,"props":757,"children":758},{},[759],{"type":49,"value":760},"Changing MSBuild tooling (custom tasks, props, targets)",{"type":43,"tag":85,"props":762,"children":763},{},[764],{"type":49,"value":765},"Debugging build infrastructure issues",{"type":43,"tag":85,"props":767,"children":768},{},[769],{"type":49,"value":770},"Seeing stale behavior in repeated builds",{"type":43,"tag":158,"props":772,"children":774},{"className":160,"code":773,"language":162,"meta":163,"style":163},"dotnet build-server shutdown\ndotnet build\n",[775],{"type":43,"tag":89,"props":776,"children":777},{"__ignoreMap":163},[778,793],{"type":43,"tag":169,"props":779,"children":780},{"class":171,"line":172},[781,785,789],{"type":43,"tag":169,"props":782,"children":783},{"style":186},[784],{"type":49,"value":8},{"type":43,"tag":169,"props":786,"children":787},{"style":191},[788],{"type":49,"value":700},{"type":43,"tag":169,"props":790,"children":791},{"style":191},[792],{"type":49,"value":736},{"type":43,"tag":169,"props":794,"children":795},{"class":171,"line":182},[796,800],{"type":43,"tag":169,"props":797,"children":798},{"style":186},[799],{"type":49,"value":8},{"type":43,"tag":169,"props":801,"children":802},{"style":191},[803],{"type":49,"value":804}," build\n",{"type":43,"tag":131,"props":806,"children":807},{},[],{"type":43,"tag":52,"props":809,"children":811},{"id":810},"step-3-artifacts-output-layout",[812],{"type":49,"value":813},"Step 3: Artifacts Output Layout",{"type":43,"tag":59,"props":815,"children":816},{},[817,819,825],{"type":49,"value":818},"The ",{"type":43,"tag":89,"props":820,"children":822},{"className":821},[],[823],{"type":49,"value":824},"UseArtifactsOutput",{"type":49,"value":826}," feature (introduced in .NET 8) changes the output directory structure to avoid bin\u002Fobj clash issues and enable better caching.",{"type":43,"tag":146,"props":828,"children":830},{"id":829},"enabling-artifacts-output",[831],{"type":49,"value":832},"Enabling Artifacts Output",{"type":43,"tag":158,"props":834,"children":838},{"className":835,"code":836,"language":837,"meta":163,"style":163},"language-xml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003C!-- Directory.Build.props -->\n\u003CPropertyGroup>\n  \u003CUseArtifactsOutput>true\u003C\u002FUseArtifactsOutput>\n\u003C\u002FPropertyGroup>\n","xml",[839],{"type":43,"tag":89,"props":840,"children":841},{"__ignoreMap":163},[842,850,858,866],{"type":43,"tag":169,"props":843,"children":844},{"class":171,"line":172},[845],{"type":43,"tag":169,"props":846,"children":847},{},[848],{"type":49,"value":849},"\u003C!-- Directory.Build.props -->\n",{"type":43,"tag":169,"props":851,"children":852},{"class":171,"line":182},[853],{"type":43,"tag":169,"props":854,"children":855},{},[856],{"type":49,"value":857},"\u003CPropertyGroup>\n",{"type":43,"tag":169,"props":859,"children":860},{"class":171,"line":197},[861],{"type":43,"tag":169,"props":862,"children":863},{},[864],{"type":49,"value":865},"  \u003CUseArtifactsOutput>true\u003C\u002FUseArtifactsOutput>\n",{"type":43,"tag":169,"props":867,"children":868},{"class":171,"line":206},[869],{"type":43,"tag":169,"props":870,"children":871},{},[872],{"type":49,"value":873},"\u003C\u002FPropertyGroup>\n",{"type":43,"tag":146,"props":875,"children":877},{"id":876},"before-vs-after",[878],{"type":49,"value":879},"Before vs After",{"type":43,"tag":158,"props":881,"children":884},{"className":882,"code":883,"language":49},[592],"# Traditional layout (before)\nsrc\u002F\n  MyLib\u002F\n    bin\u002FDebug\u002Fnet8.0\u002FMyLib.dll\n    obj\u002FDebug\u002Fnet8.0\u002F...\n  MyApp\u002F\n    bin\u002FDebug\u002Fnet8.0\u002FMyApp.dll\n\n# Artifacts layout (after)\nartifacts\u002F\n  bin\u002FMyLib\u002Fdebug\u002FMyLib.dll\n  bin\u002FMyApp\u002Fdebug\u002FMyApp.dll\n  obj\u002FMyLib\u002Fdebug\u002F...\n  obj\u002FMyApp\u002Fdebug\u002F...\n",[885],{"type":43,"tag":89,"props":886,"children":887},{"__ignoreMap":163},[888],{"type":49,"value":883},{"type":43,"tag":146,"props":890,"children":892},{"id":891},"benefits",[893],{"type":49,"value":894},"Benefits",{"type":43,"tag":81,"props":896,"children":897},{},[898,908,926,941],{"type":43,"tag":85,"props":899,"children":900},{},[901,906],{"type":43,"tag":65,"props":902,"children":903},{},[904],{"type":49,"value":905},"No bin\u002Fobj clash",{"type":49,"value":907},": Each project+configuration gets a unique path automatically",{"type":43,"tag":85,"props":909,"children":910},{},[911,916,918,924],{"type":43,"tag":65,"props":912,"children":913},{},[914],{"type":49,"value":915},"Easier to cache",{"type":49,"value":917},": Single ",{"type":43,"tag":89,"props":919,"children":921},{"className":920},[],[922],{"type":49,"value":923},"artifacts\u002F",{"type":49,"value":925}," directory to cache\u002Frestore in CI",{"type":43,"tag":85,"props":927,"children":928},{},[929,934,936],{"type":43,"tag":65,"props":930,"children":931},{},[932],{"type":49,"value":933},"Cleaner .gitignore",{"type":49,"value":935},": Just ignore ",{"type":43,"tag":89,"props":937,"children":939},{"className":938},[],[940],{"type":49,"value":923},{"type":43,"tag":85,"props":942,"children":943},{},[944,949],{"type":43,"tag":65,"props":945,"children":946},{},[947],{"type":49,"value":948},"Multi-targeting safe",{"type":49,"value":950},": Each TFM gets its own subdirectory",{"type":43,"tag":146,"props":952,"children":954},{"id":953},"customizing",[955],{"type":49,"value":956},"Customizing",{"type":43,"tag":158,"props":958,"children":960},{"className":835,"code":959,"language":837,"meta":163,"style":163},"\u003C!-- Change the artifacts root -->\n\u003CPropertyGroup>\n  \u003CArtifactsPath>$(MSBuildThisFileDirectory)output\u003C\u002FArtifactsPath>\n\u003C\u002FPropertyGroup>\n",[961],{"type":43,"tag":89,"props":962,"children":963},{"__ignoreMap":163},[964,972,979,987],{"type":43,"tag":169,"props":965,"children":966},{"class":171,"line":172},[967],{"type":43,"tag":169,"props":968,"children":969},{},[970],{"type":49,"value":971},"\u003C!-- Change the artifacts root -->\n",{"type":43,"tag":169,"props":973,"children":974},{"class":171,"line":182},[975],{"type":43,"tag":169,"props":976,"children":977},{},[978],{"type":49,"value":857},{"type":43,"tag":169,"props":980,"children":981},{"class":171,"line":197},[982],{"type":43,"tag":169,"props":983,"children":984},{},[985],{"type":49,"value":986},"  \u003CArtifactsPath>$(MSBuildThisFileDirectory)output\u003C\u002FArtifactsPath>\n",{"type":43,"tag":169,"props":988,"children":989},{"class":171,"line":206},[990],{"type":43,"tag":169,"props":991,"children":992},{},[993],{"type":49,"value":873},{"type":43,"tag":131,"props":995,"children":996},{},[],{"type":43,"tag":52,"props":998,"children":1000},{"id":999},"step-4-deterministic-builds",[1001],{"type":49,"value":1002},"Step 4: Deterministic Builds",{"type":43,"tag":59,"props":1004,"children":1005},{},[1006],{"type":49,"value":1007},"Deterministic builds produce byte-for-byte identical output given the same inputs. This is essential for build caching and reproducibility.",{"type":43,"tag":146,"props":1009,"children":1011},{"id":1010},"enabling-deterministic-builds",[1012],{"type":49,"value":1013},"Enabling Deterministic Builds",{"type":43,"tag":158,"props":1015,"children":1017},{"className":835,"code":1016,"language":837,"meta":163,"style":163},"\u003C!-- Directory.Build.props -->\n\u003CPropertyGroup>\n  \u003C!-- Enabled by default in .NET SDK projects since SDK 2.0+ -->\n  \u003CDeterministic>true\u003C\u002FDeterministic>\n\n  \u003C!-- For full reproducibility, also set: -->\n  \u003CContinuousIntegrationBuild Condition=\"'$(CI)' == 'true'\">true\u003C\u002FContinuousIntegrationBuild>\n\u003C\u002FPropertyGroup>\n",[1018],{"type":43,"tag":89,"props":1019,"children":1020},{"__ignoreMap":163},[1021,1028,1035,1043,1051,1058,1066,1074],{"type":43,"tag":169,"props":1022,"children":1023},{"class":171,"line":172},[1024],{"type":43,"tag":169,"props":1025,"children":1026},{},[1027],{"type":49,"value":849},{"type":43,"tag":169,"props":1029,"children":1030},{"class":171,"line":182},[1031],{"type":43,"tag":169,"props":1032,"children":1033},{},[1034],{"type":49,"value":857},{"type":43,"tag":169,"props":1036,"children":1037},{"class":171,"line":197},[1038],{"type":43,"tag":169,"props":1039,"children":1040},{},[1041],{"type":49,"value":1042},"  \u003C!-- Enabled by default in .NET SDK projects since SDK 2.0+ -->\n",{"type":43,"tag":169,"props":1044,"children":1045},{"class":171,"line":206},[1046],{"type":43,"tag":169,"props":1047,"children":1048},{},[1049],{"type":49,"value":1050},"  \u003CDeterministic>true\u003C\u002FDeterministic>\n",{"type":43,"tag":169,"props":1052,"children":1053},{"class":171,"line":255},[1054],{"type":43,"tag":169,"props":1055,"children":1056},{"emptyLinePlaceholder":277},[1057],{"type":49,"value":280},{"type":43,"tag":169,"props":1059,"children":1060},{"class":171,"line":264},[1061],{"type":43,"tag":169,"props":1062,"children":1063},{},[1064],{"type":49,"value":1065},"  \u003C!-- For full reproducibility, also set: -->\n",{"type":43,"tag":169,"props":1067,"children":1068},{"class":171,"line":273},[1069],{"type":43,"tag":169,"props":1070,"children":1071},{},[1072],{"type":49,"value":1073},"  \u003CContinuousIntegrationBuild Condition=\"'$(CI)' == 'true'\">true\u003C\u002FContinuousIntegrationBuild>\n",{"type":43,"tag":169,"props":1075,"children":1076},{"class":171,"line":283},[1077],{"type":43,"tag":169,"props":1078,"children":1079},{},[1080],{"type":49,"value":873},{"type":43,"tag":146,"props":1082,"children":1084},{"id":1083},"what-deterministic-affects",[1085],{"type":49,"value":1086},"What Deterministic Affects",{"type":43,"tag":81,"props":1088,"children":1089},{},[1090,1095,1100],{"type":43,"tag":85,"props":1091,"children":1092},{},[1093],{"type":49,"value":1094},"Removes timestamps from PE headers",{"type":43,"tag":85,"props":1096,"children":1097},{},[1098],{"type":49,"value":1099},"Uses consistent file paths in PDBs",{"type":43,"tag":85,"props":1101,"children":1102},{},[1103],{"type":49,"value":1104},"Produces identical output for identical input",{"type":43,"tag":146,"props":1106,"children":1108},{"id":1107},"why-it-matters-for-performance",[1109],{"type":49,"value":1110},"Why It Matters for Performance",{"type":43,"tag":81,"props":1112,"children":1113},{},[1114,1124,1134],{"type":43,"tag":85,"props":1115,"children":1116},{},[1117,1122],{"type":43,"tag":65,"props":1118,"children":1119},{},[1120],{"type":49,"value":1121},"Build caching",{"type":49,"value":1123},": If outputs are deterministic, you can cache and reuse them across builds and machines",{"type":43,"tag":85,"props":1125,"children":1126},{},[1127,1132],{"type":43,"tag":65,"props":1128,"children":1129},{},[1130],{"type":49,"value":1131},"CI optimization",{"type":49,"value":1133},": Skip rebuilding unchanged projects by comparing inputs",{"type":43,"tag":85,"props":1135,"children":1136},{},[1137,1142],{"type":43,"tag":65,"props":1138,"children":1139},{},[1140],{"type":49,"value":1141},"Distributed builds",{"type":49,"value":1143},": Safe to cache compilation results in shared storage",{"type":43,"tag":131,"props":1145,"children":1146},{},[],{"type":43,"tag":52,"props":1148,"children":1150},{"id":1149},"step-5-dependency-graph-trimming",[1151],{"type":49,"value":1152},"Step 5: Dependency Graph Trimming",{"type":43,"tag":59,"props":1154,"children":1155},{},[1156],{"type":49,"value":1157},"Reducing unnecessary project references shortens the critical path and reduces what gets built.",{"type":43,"tag":146,"props":1159,"children":1161},{"id":1160},"audit-the-dependency-graph",[1162],{"type":49,"value":1163},"Audit the Dependency Graph",{"type":43,"tag":158,"props":1165,"children":1167},{"className":160,"code":1166,"language":162,"meta":163,"style":163},"# Visualize the dependency graph\ndotnet build \u002Fbl:graph.binlog\n\n# In the binlog, check project references and build times\n# Look for projects that are referenced but could be trimmed\n",[1168],{"type":43,"tag":89,"props":1169,"children":1170},{"__ignoreMap":163},[1171,1179,1195,1202,1210],{"type":43,"tag":169,"props":1172,"children":1173},{"class":171,"line":172},[1174],{"type":43,"tag":169,"props":1175,"children":1176},{"style":176},[1177],{"type":49,"value":1178},"# Visualize the dependency graph\n",{"type":43,"tag":169,"props":1180,"children":1181},{"class":171,"line":182},[1182,1186,1190],{"type":43,"tag":169,"props":1183,"children":1184},{"style":186},[1185],{"type":49,"value":8},{"type":43,"tag":169,"props":1187,"children":1188},{"style":191},[1189],{"type":49,"value":302},{"type":43,"tag":169,"props":1191,"children":1192},{"style":191},[1193],{"type":49,"value":1194}," \u002Fbl:graph.binlog\n",{"type":43,"tag":169,"props":1196,"children":1197},{"class":171,"line":197},[1198],{"type":43,"tag":169,"props":1199,"children":1200},{"emptyLinePlaceholder":277},[1201],{"type":49,"value":280},{"type":43,"tag":169,"props":1203,"children":1204},{"class":171,"line":206},[1205],{"type":43,"tag":169,"props":1206,"children":1207},{"style":176},[1208],{"type":49,"value":1209},"# In the binlog, check project references and build times\n",{"type":43,"tag":169,"props":1211,"children":1212},{"class":171,"line":255},[1213],{"type":43,"tag":169,"props":1214,"children":1215},{"style":176},[1216],{"type":49,"value":1217},"# Look for projects that are referenced but could be trimmed\n",{"type":43,"tag":146,"props":1219,"children":1221},{"id":1220},"techniques",[1222],{"type":49,"value":1223},"Techniques",{"type":43,"tag":1225,"props":1226,"children":1228},"h4",{"id":1227},"remove-redundant-transitive-references",[1229],{"type":49,"value":1230},"Remove Redundant Transitive References",{"type":43,"tag":158,"props":1232,"children":1234},{"className":835,"code":1233,"language":837,"meta":163,"style":163},"\u003C!-- BAD: Utils is already referenced transitively via Core -->\n\u003CItemGroup>\n  \u003CProjectReference Include=\"..\\Core\\Core.csproj\" \u002F>\n  \u003CProjectReference Include=\"..\\Utils\\Utils.csproj\" \u002F>\n\u003C\u002FItemGroup>\n\n\u003C!-- GOOD: Let transitive references flow automatically -->\n\u003CItemGroup>\n  \u003CProjectReference Include=\"..\\Core\\Core.csproj\" \u002F>\n\u003C\u002FItemGroup>\n",[1235],{"type":43,"tag":89,"props":1236,"children":1237},{"__ignoreMap":163},[1238,1246,1254,1262,1270,1278,1285,1293,1300,1307],{"type":43,"tag":169,"props":1239,"children":1240},{"class":171,"line":172},[1241],{"type":43,"tag":169,"props":1242,"children":1243},{},[1244],{"type":49,"value":1245},"\u003C!-- BAD: Utils is already referenced transitively via Core -->\n",{"type":43,"tag":169,"props":1247,"children":1248},{"class":171,"line":182},[1249],{"type":43,"tag":169,"props":1250,"children":1251},{},[1252],{"type":49,"value":1253},"\u003CItemGroup>\n",{"type":43,"tag":169,"props":1255,"children":1256},{"class":171,"line":197},[1257],{"type":43,"tag":169,"props":1258,"children":1259},{},[1260],{"type":49,"value":1261},"  \u003CProjectReference Include=\"..\\Core\\Core.csproj\" \u002F>\n",{"type":43,"tag":169,"props":1263,"children":1264},{"class":171,"line":206},[1265],{"type":43,"tag":169,"props":1266,"children":1267},{},[1268],{"type":49,"value":1269},"  \u003CProjectReference Include=\"..\\Utils\\Utils.csproj\" \u002F>\n",{"type":43,"tag":169,"props":1271,"children":1272},{"class":171,"line":255},[1273],{"type":43,"tag":169,"props":1274,"children":1275},{},[1276],{"type":49,"value":1277},"\u003C\u002FItemGroup>\n",{"type":43,"tag":169,"props":1279,"children":1280},{"class":171,"line":264},[1281],{"type":43,"tag":169,"props":1282,"children":1283},{"emptyLinePlaceholder":277},[1284],{"type":49,"value":280},{"type":43,"tag":169,"props":1286,"children":1287},{"class":171,"line":273},[1288],{"type":43,"tag":169,"props":1289,"children":1290},{},[1291],{"type":49,"value":1292},"\u003C!-- GOOD: Let transitive references flow automatically -->\n",{"type":43,"tag":169,"props":1294,"children":1295},{"class":171,"line":283},[1296],{"type":43,"tag":169,"props":1297,"children":1298},{},[1299],{"type":49,"value":1253},{"type":43,"tag":169,"props":1301,"children":1302},{"class":171,"line":292},[1303],{"type":43,"tag":169,"props":1304,"children":1305},{},[1306],{"type":49,"value":1261},{"type":43,"tag":169,"props":1308,"children":1310},{"class":171,"line":1309},10,[1311],{"type":43,"tag":169,"props":1312,"children":1313},{},[1314],{"type":49,"value":1277},{"type":43,"tag":1225,"props":1316,"children":1318},{"id":1317},"build-order-only-references",[1319],{"type":49,"value":1320},"Build-Order-Only References",{"type":43,"tag":59,"props":1322,"children":1323},{},[1324],{"type":49,"value":1325},"When you need a project to build before yours but don't need its assembly output:",{"type":43,"tag":158,"props":1327,"children":1329},{"className":835,"code":1328,"language":837,"meta":163,"style":163},"\u003C!-- Only ensures build order, doesn't reference the output assembly -->\n\u003CProjectReference Include=\"..\\CodeGen\\CodeGen.csproj\"\n                  ReferenceOutputAssembly=\"false\" \u002F>\n",[1330],{"type":43,"tag":89,"props":1331,"children":1332},{"__ignoreMap":163},[1333,1341,1349],{"type":43,"tag":169,"props":1334,"children":1335},{"class":171,"line":172},[1336],{"type":43,"tag":169,"props":1337,"children":1338},{},[1339],{"type":49,"value":1340},"\u003C!-- Only ensures build order, doesn't reference the output assembly -->\n",{"type":43,"tag":169,"props":1342,"children":1343},{"class":171,"line":182},[1344],{"type":43,"tag":169,"props":1345,"children":1346},{},[1347],{"type":49,"value":1348},"\u003CProjectReference Include=\"..\\CodeGen\\CodeGen.csproj\"\n",{"type":43,"tag":169,"props":1350,"children":1351},{"class":171,"line":197},[1352],{"type":43,"tag":169,"props":1353,"children":1354},{},[1355],{"type":49,"value":1356},"                  ReferenceOutputAssembly=\"false\" \u002F>\n",{"type":43,"tag":1225,"props":1358,"children":1360},{"id":1359},"prevent-transitive-flow",[1361],{"type":49,"value":1362},"Prevent Transitive Flow",{"type":43,"tag":59,"props":1364,"children":1365},{},[1366],{"type":49,"value":1367},"When a dependency is an internal implementation detail that shouldn't flow to consumers:",{"type":43,"tag":158,"props":1369,"children":1371},{"className":835,"code":1370,"language":837,"meta":163,"style":163},"\u003C!-- Don't expose this dependency transitively -->\n\u003CProjectReference Include=\"..\\InternalHelpers\\InternalHelpers.csproj\"\n                  PrivateAssets=\"all\" \u002F>\n",[1372],{"type":43,"tag":89,"props":1373,"children":1374},{"__ignoreMap":163},[1375,1383,1391],{"type":43,"tag":169,"props":1376,"children":1377},{"class":171,"line":172},[1378],{"type":43,"tag":169,"props":1379,"children":1380},{},[1381],{"type":49,"value":1382},"\u003C!-- Don't expose this dependency transitively -->\n",{"type":43,"tag":169,"props":1384,"children":1385},{"class":171,"line":182},[1386],{"type":43,"tag":169,"props":1387,"children":1388},{},[1389],{"type":49,"value":1390},"\u003CProjectReference Include=\"..\\InternalHelpers\\InternalHelpers.csproj\"\n",{"type":43,"tag":169,"props":1392,"children":1393},{"class":171,"line":197},[1394],{"type":43,"tag":169,"props":1395,"children":1396},{},[1397],{"type":49,"value":1398},"                  PrivateAssets=\"all\" \u002F>\n",{"type":43,"tag":1225,"props":1400,"children":1402},{"id":1401},"disable-transitive-project-references",[1403],{"type":49,"value":1404},"Disable Transitive Project References",{"type":43,"tag":59,"props":1406,"children":1407},{},[1408],{"type":49,"value":1409},"For explicit-only dependency management (extreme measure for very large repos):",{"type":43,"tag":158,"props":1411,"children":1413},{"className":835,"code":1412,"language":837,"meta":163,"style":163},"\u003CPropertyGroup>\n  \u003CDisableTransitiveProjectReferences>true\u003C\u002FDisableTransitiveProjectReferences>\n\u003C\u002FPropertyGroup>\n",[1414],{"type":43,"tag":89,"props":1415,"children":1416},{"__ignoreMap":163},[1417,1424,1432],{"type":43,"tag":169,"props":1418,"children":1419},{"class":171,"line":172},[1420],{"type":43,"tag":169,"props":1421,"children":1422},{},[1423],{"type":49,"value":857},{"type":43,"tag":169,"props":1425,"children":1426},{"class":171,"line":182},[1427],{"type":43,"tag":169,"props":1428,"children":1429},{},[1430],{"type":49,"value":1431},"  \u003CDisableTransitiveProjectReferences>true\u003C\u002FDisableTransitiveProjectReferences>\n",{"type":43,"tag":169,"props":1433,"children":1434},{"class":171,"line":197},[1435],{"type":43,"tag":169,"props":1436,"children":1437},{},[1438],{"type":49,"value":873},{"type":43,"tag":59,"props":1440,"children":1441},{},[1442,1447],{"type":43,"tag":65,"props":1443,"children":1444},{},[1445],{"type":49,"value":1446},"Caution",{"type":49,"value":1448},": This requires all dependencies to be listed explicitly. Only use in large repos where transitive closure is causing excessive rebuilds.",{"type":43,"tag":131,"props":1450,"children":1451},{},[],{"type":43,"tag":52,"props":1453,"children":1455},{"id":1454},"step-6-static-graph-builds-graph",[1456,1458,1464],{"type":49,"value":1457},"Step 6: Static Graph Builds (",{"type":43,"tag":89,"props":1459,"children":1461},{"className":1460},[],[1462],{"type":49,"value":1463},"\u002Fgraph",{"type":49,"value":1465},")",{"type":43,"tag":59,"props":1467,"children":1468},{},[1469],{"type":49,"value":1470},"Static graph mode evaluates the entire project graph before building, enabling better scheduling and isolation.",{"type":43,"tag":146,"props":1472,"children":1474},{"id":1473},"enabling-graph-build",[1475],{"type":49,"value":1476},"Enabling Graph Build",{"type":43,"tag":158,"props":1478,"children":1480},{"className":160,"code":1479,"language":162,"meta":163,"style":163},"# Single invocation\ndotnet build \u002Fgraph\n\n# With binary log for analysis\ndotnet build \u002Fgraph \u002Fbl:graph-build.binlog\n",[1481],{"type":43,"tag":89,"props":1482,"children":1483},{"__ignoreMap":163},[1484,1492,1508,1515,1523],{"type":43,"tag":169,"props":1485,"children":1486},{"class":171,"line":172},[1487],{"type":43,"tag":169,"props":1488,"children":1489},{"style":176},[1490],{"type":49,"value":1491},"# Single invocation\n",{"type":43,"tag":169,"props":1493,"children":1494},{"class":171,"line":182},[1495,1499,1503],{"type":43,"tag":169,"props":1496,"children":1497},{"style":186},[1498],{"type":49,"value":8},{"type":43,"tag":169,"props":1500,"children":1501},{"style":191},[1502],{"type":49,"value":302},{"type":43,"tag":169,"props":1504,"children":1505},{"style":191},[1506],{"type":49,"value":1507}," \u002Fgraph\n",{"type":43,"tag":169,"props":1509,"children":1510},{"class":171,"line":197},[1511],{"type":43,"tag":169,"props":1512,"children":1513},{"emptyLinePlaceholder":277},[1514],{"type":49,"value":280},{"type":43,"tag":169,"props":1516,"children":1517},{"class":171,"line":206},[1518],{"type":43,"tag":169,"props":1519,"children":1520},{"style":176},[1521],{"type":49,"value":1522},"# With binary log for analysis\n",{"type":43,"tag":169,"props":1524,"children":1525},{"class":171,"line":255},[1526,1530,1534,1539],{"type":43,"tag":169,"props":1527,"children":1528},{"style":186},[1529],{"type":49,"value":8},{"type":43,"tag":169,"props":1531,"children":1532},{"style":191},[1533],{"type":49,"value":302},{"type":43,"tag":169,"props":1535,"children":1536},{"style":191},[1537],{"type":49,"value":1538}," \u002Fgraph",{"type":43,"tag":169,"props":1540,"children":1541},{"style":191},[1542],{"type":49,"value":1543}," \u002Fbl:graph-build.binlog\n",{"type":43,"tag":146,"props":1545,"children":1547},{"id":1546},"benefits-1",[1548],{"type":49,"value":894},{"type":43,"tag":81,"props":1550,"children":1551},{},[1552,1562,1572],{"type":43,"tag":85,"props":1553,"children":1554},{},[1555,1560],{"type":43,"tag":65,"props":1556,"children":1557},{},[1558],{"type":49,"value":1559},"Better parallelism",{"type":49,"value":1561},": MSBuild knows the full graph upfront and can schedule optimally",{"type":43,"tag":85,"props":1563,"children":1564},{},[1565,1570],{"type":43,"tag":65,"props":1566,"children":1567},{},[1568],{"type":49,"value":1569},"Build isolation",{"type":49,"value":1571},": Each project builds in isolation (no cross-project state leakage)",{"type":43,"tag":85,"props":1573,"children":1574},{},[1575,1580],{"type":43,"tag":65,"props":1576,"children":1577},{},[1578],{"type":49,"value":1579},"Caching potential",{"type":49,"value":1581},": With isolation, individual project results can be cached",{"type":43,"tag":146,"props":1583,"children":1585},{"id":1584},"when-to-use",[1586],{"type":49,"value":1587},"When to Use",{"type":43,"tag":479,"props":1589,"children":1590},{},[1591,1606],{"type":43,"tag":483,"props":1592,"children":1593},{},[1594],{"type":43,"tag":487,"props":1595,"children":1596},{},[1597,1601],{"type":43,"tag":491,"props":1598,"children":1599},{},[1600],{"type":49,"value":495},{"type":43,"tag":491,"props":1602,"children":1603},{},[1604],{"type":49,"value":1605},"Recommendation",{"type":43,"tag":502,"props":1607,"children":1608},{},[1609,1629,1642,1655],{"type":43,"tag":487,"props":1610,"children":1611},{},[1612,1617],{"type":43,"tag":509,"props":1613,"children":1614},{},[1615],{"type":49,"value":1616},"Large multi-project solution (20+ projects)",{"type":43,"tag":509,"props":1618,"children":1619},{},[1620,1622,1627],{"type":49,"value":1621},"✅ Try ",{"type":43,"tag":89,"props":1623,"children":1625},{"className":1624},[],[1626],{"type":49,"value":1463},{"type":49,"value":1628}," — may see significant parallelism gains",{"type":43,"tag":487,"props":1630,"children":1631},{},[1632,1637],{"type":43,"tag":509,"props":1633,"children":1634},{},[1635],{"type":49,"value":1636},"Small solution (\u003C 5 projects)",{"type":43,"tag":509,"props":1638,"children":1639},{},[1640],{"type":49,"value":1641},"❌ Overhead of graph evaluation outweighs benefits",{"type":43,"tag":487,"props":1643,"children":1644},{},[1645,1650],{"type":43,"tag":509,"props":1646,"children":1647},{},[1648],{"type":49,"value":1649},"CI builds",{"type":43,"tag":509,"props":1651,"children":1652},{},[1653],{"type":49,"value":1654},"✅ Graph builds are more predictable and parallelizable",{"type":43,"tag":487,"props":1656,"children":1657},{},[1658,1663],{"type":43,"tag":509,"props":1659,"children":1660},{},[1661],{"type":49,"value":1662},"Local development",{"type":43,"tag":509,"props":1664,"children":1665},{},[1666],{"type":49,"value":1667},"⚠️ Test both — may or may not help depending on project structure",{"type":43,"tag":146,"props":1669,"children":1671},{"id":1670},"troubleshooting-graph-build",[1672],{"type":49,"value":1673},"Troubleshooting Graph Build",{"type":43,"tag":59,"props":1675,"children":1676},{},[1677,1679,1685],{"type":49,"value":1678},"Graph build requires that all ",{"type":43,"tag":89,"props":1680,"children":1682},{"className":1681},[],[1683],{"type":49,"value":1684},"ProjectReference",{"type":49,"value":1686}," items are statically determinable (no dynamic references computed in targets). If graph build fails:",{"type":43,"tag":158,"props":1688,"children":1691},{"className":1689,"code":1690,"language":49},[592],"error MSB4260: Project reference \"...\" could not be resolved with static graph.\n",[1692],{"type":43,"tag":89,"props":1693,"children":1694},{"__ignoreMap":163},[1695],{"type":49,"value":1690},{"type":43,"tag":59,"props":1697,"children":1698},{},[1699,1704,1706,1711,1713,1719,1721,1727],{"type":43,"tag":65,"props":1700,"children":1701},{},[1702],{"type":49,"value":1703},"Fix",{"type":49,"value":1705},": Ensure all ",{"type":43,"tag":89,"props":1707,"children":1709},{"className":1708},[],[1710],{"type":49,"value":1684},{"type":49,"value":1712}," items are declared in ",{"type":43,"tag":89,"props":1714,"children":1716},{"className":1715},[],[1717],{"type":49,"value":1718},"\u003CItemGroup>",{"type":49,"value":1720}," outside of targets (not dynamically computed inside ",{"type":43,"tag":89,"props":1722,"children":1724},{"className":1723},[],[1725],{"type":49,"value":1726},"\u003CTarget>",{"type":49,"value":1728}," blocks).",{"type":43,"tag":131,"props":1730,"children":1731},{},[],{"type":43,"tag":52,"props":1733,"children":1735},{"id":1734},"step-7-parallel-build-tuning",[1736],{"type":49,"value":1737},"Step 7: Parallel Build Tuning",{"type":43,"tag":146,"props":1739,"children":1741},{"id":1740},"maxcpucount",[1742],{"type":49,"value":1743},"MaxCpuCount",{"type":43,"tag":158,"props":1745,"children":1747},{"className":160,"code":1746,"language":162,"meta":163,"style":163},"# Use all available cores (default in dotnet build)\ndotnet build -m\n\n# Specify explicit core count (useful for CI with shared agents)\ndotnet build -m:4\n\n# MSBuild.exe syntax\nmsbuild \u002Fm:8 MySolution.sln\n",[1748],{"type":43,"tag":89,"props":1749,"children":1750},{"__ignoreMap":163},[1751,1759,1774,1781,1789,1805,1812,1820],{"type":43,"tag":169,"props":1752,"children":1753},{"class":171,"line":172},[1754],{"type":43,"tag":169,"props":1755,"children":1756},{"style":176},[1757],{"type":49,"value":1758},"# Use all available cores (default in dotnet build)\n",{"type":43,"tag":169,"props":1760,"children":1761},{"class":171,"line":182},[1762,1766,1770],{"type":43,"tag":169,"props":1763,"children":1764},{"style":186},[1765],{"type":49,"value":8},{"type":43,"tag":169,"props":1767,"children":1768},{"style":191},[1769],{"type":49,"value":302},{"type":43,"tag":169,"props":1771,"children":1772},{"style":191},[1773],{"type":49,"value":312},{"type":43,"tag":169,"props":1775,"children":1776},{"class":171,"line":197},[1777],{"type":43,"tag":169,"props":1778,"children":1779},{"emptyLinePlaceholder":277},[1780],{"type":49,"value":280},{"type":43,"tag":169,"props":1782,"children":1783},{"class":171,"line":206},[1784],{"type":43,"tag":169,"props":1785,"children":1786},{"style":176},[1787],{"type":49,"value":1788},"# Specify explicit core count (useful for CI with shared agents)\n",{"type":43,"tag":169,"props":1790,"children":1791},{"class":171,"line":255},[1792,1796,1800],{"type":43,"tag":169,"props":1793,"children":1794},{"style":186},[1795],{"type":49,"value":8},{"type":43,"tag":169,"props":1797,"children":1798},{"style":191},[1799],{"type":49,"value":302},{"type":43,"tag":169,"props":1801,"children":1802},{"style":191},[1803],{"type":49,"value":1804}," -m:4\n",{"type":43,"tag":169,"props":1806,"children":1807},{"class":171,"line":264},[1808],{"type":43,"tag":169,"props":1809,"children":1810},{"emptyLinePlaceholder":277},[1811],{"type":49,"value":280},{"type":43,"tag":169,"props":1813,"children":1814},{"class":171,"line":273},[1815],{"type":43,"tag":169,"props":1816,"children":1817},{"style":176},[1818],{"type":49,"value":1819},"# MSBuild.exe syntax\n",{"type":43,"tag":169,"props":1821,"children":1822},{"class":171,"line":283},[1823,1828,1833],{"type":43,"tag":169,"props":1824,"children":1825},{"style":186},[1826],{"type":49,"value":1827},"msbuild",{"type":43,"tag":169,"props":1829,"children":1830},{"style":191},[1831],{"type":49,"value":1832}," \u002Fm:8",{"type":43,"tag":169,"props":1834,"children":1835},{"style":191},[1836],{"type":49,"value":1837}," MySolution.sln\n",{"type":43,"tag":146,"props":1839,"children":1841},{"id":1840},"identifying-parallelism-bottlenecks",[1842],{"type":49,"value":1843},"Identifying Parallelism Bottlenecks",{"type":43,"tag":59,"props":1845,"children":1846},{},[1847],{"type":49,"value":1848},"In a binlog, look for:",{"type":43,"tag":81,"props":1850,"children":1851},{},[1852,1862,1872],{"type":43,"tag":85,"props":1853,"children":1854},{},[1855,1860],{"type":43,"tag":65,"props":1856,"children":1857},{},[1858],{"type":49,"value":1859},"Long sequential chains",{"type":49,"value":1861},": Projects that must build one after another due to dependencies",{"type":43,"tag":85,"props":1863,"children":1864},{},[1865,1870],{"type":43,"tag":65,"props":1866,"children":1867},{},[1868],{"type":49,"value":1869},"Uneven load",{"type":49,"value":1871},": Some build nodes idle while others are overloaded",{"type":43,"tag":85,"props":1873,"children":1874},{},[1875,1880],{"type":43,"tag":65,"props":1876,"children":1877},{},[1878],{"type":49,"value":1879},"Single-project bottleneck",{"type":49,"value":1881},": One large project on the critical path that blocks everything",{"type":43,"tag":59,"props":1883,"children":1884},{},[1885,1887,1893],{"type":49,"value":1886},"Use ",{"type":43,"tag":89,"props":1888,"children":1890},{"className":1889},[],[1891],{"type":49,"value":1892},"grep 'Target Performance Summary' -A 30 full.log",{"type":49,"value":1894}," in binlog analysis to see build node utilization.",{"type":43,"tag":146,"props":1896,"children":1898},{"id":1897},"reducing-the-critical-path",[1899],{"type":49,"value":1900},"Reducing the Critical Path",{"type":43,"tag":59,"props":1902,"children":1903},{},[1904],{"type":49,"value":1905},"The critical path is the longest chain of dependent projects. To shorten it:",{"type":43,"tag":1907,"props":1908,"children":1909},"ol",{},[1910,1920,1930,1945],{"type":43,"tag":85,"props":1911,"children":1912},{},[1913,1918],{"type":43,"tag":65,"props":1914,"children":1915},{},[1916],{"type":49,"value":1917},"Break large projects into smaller ones",{"type":49,"value":1919}," that can build in parallel",{"type":43,"tag":85,"props":1921,"children":1922},{},[1923,1928],{"type":43,"tag":65,"props":1924,"children":1925},{},[1926],{"type":49,"value":1927},"Remove unnecessary ProjectReferences",{"type":49,"value":1929}," (see Step 5)",{"type":43,"tag":85,"props":1931,"children":1932},{},[1933,1943],{"type":43,"tag":65,"props":1934,"children":1935},{},[1936,1937],{"type":49,"value":1886},{"type":43,"tag":89,"props":1938,"children":1940},{"className":1939},[],[1941],{"type":49,"value":1942},"ReferenceOutputAssembly=\"false\"",{"type":49,"value":1944}," for build-order-only dependencies",{"type":43,"tag":85,"props":1946,"children":1947},{},[1948,1953],{"type":43,"tag":65,"props":1949,"children":1950},{},[1951],{"type":49,"value":1952},"Move shared code to a base library",{"type":49,"value":1954}," that builds first, then parallelize consumers",{"type":43,"tag":131,"props":1956,"children":1957},{},[],{"type":43,"tag":52,"props":1959,"children":1961},{"id":1960},"step-8-additional-quick-wins",[1962],{"type":49,"value":1963},"Step 8: Additional Quick Wins",{"type":43,"tag":146,"props":1965,"children":1967},{"id":1966},"separate-restore-from-build",[1968],{"type":49,"value":1969},"Separate Restore from Build",{"type":43,"tag":158,"props":1971,"children":1973},{"className":160,"code":1972,"language":162,"meta":163,"style":163},"# In CI, restore once then build without restore\ndotnet restore\ndotnet build --no-restore -m\ndotnet test --no-build\n",[1974],{"type":43,"tag":89,"props":1975,"children":1976},{"__ignoreMap":163},[1977,1985,1997,2017],{"type":43,"tag":169,"props":1978,"children":1979},{"class":171,"line":172},[1980],{"type":43,"tag":169,"props":1981,"children":1982},{"style":176},[1983],{"type":49,"value":1984},"# In CI, restore once then build without restore\n",{"type":43,"tag":169,"props":1986,"children":1987},{"class":171,"line":182},[1988,1992],{"type":43,"tag":169,"props":1989,"children":1990},{"style":186},[1991],{"type":49,"value":8},{"type":43,"tag":169,"props":1993,"children":1994},{"style":191},[1995],{"type":49,"value":1996}," restore\n",{"type":43,"tag":169,"props":1998,"children":1999},{"class":171,"line":197},[2000,2004,2008,2013],{"type":43,"tag":169,"props":2001,"children":2002},{"style":186},[2003],{"type":49,"value":8},{"type":43,"tag":169,"props":2005,"children":2006},{"style":191},[2007],{"type":49,"value":302},{"type":43,"tag":169,"props":2009,"children":2010},{"style":191},[2011],{"type":49,"value":2012}," --no-restore",{"type":43,"tag":169,"props":2014,"children":2015},{"style":191},[2016],{"type":49,"value":312},{"type":43,"tag":169,"props":2018,"children":2019},{"class":171,"line":206},[2020,2024,2029],{"type":43,"tag":169,"props":2021,"children":2022},{"style":186},[2023],{"type":49,"value":8},{"type":43,"tag":169,"props":2025,"children":2026},{"style":191},[2027],{"type":49,"value":2028}," test",{"type":43,"tag":169,"props":2030,"children":2031},{"style":191},[2032],{"type":49,"value":2033}," --no-build\n",{"type":43,"tag":146,"props":2035,"children":2037},{"id":2036},"skip-unnecessary-targets",[2038],{"type":49,"value":2039},"Skip Unnecessary Targets",{"type":43,"tag":158,"props":2041,"children":2043},{"className":160,"code":2042,"language":162,"meta":163,"style":163},"# Skip building documentation\ndotnet build \u002Fp:GenerateDocumentationFile=false\n\n# Skip analyzers during development (not for CI!)\ndotnet build \u002Fp:RunAnalyzers=false\n",[2044],{"type":43,"tag":89,"props":2045,"children":2046},{"__ignoreMap":163},[2047,2055,2076,2083,2091],{"type":43,"tag":169,"props":2048,"children":2049},{"class":171,"line":172},[2050],{"type":43,"tag":169,"props":2051,"children":2052},{"style":176},[2053],{"type":49,"value":2054},"# Skip building documentation\n",{"type":43,"tag":169,"props":2056,"children":2057},{"class":171,"line":182},[2058,2062,2066,2071],{"type":43,"tag":169,"props":2059,"children":2060},{"style":186},[2061],{"type":49,"value":8},{"type":43,"tag":169,"props":2063,"children":2064},{"style":191},[2065],{"type":49,"value":302},{"type":43,"tag":169,"props":2067,"children":2068},{"style":191},[2069],{"type":49,"value":2070}," \u002Fp:GenerateDocumentationFile=",{"type":43,"tag":169,"props":2072,"children":2073},{"style":235},[2074],{"type":49,"value":2075},"false\n",{"type":43,"tag":169,"props":2077,"children":2078},{"class":171,"line":197},[2079],{"type":43,"tag":169,"props":2080,"children":2081},{"emptyLinePlaceholder":277},[2082],{"type":49,"value":280},{"type":43,"tag":169,"props":2084,"children":2085},{"class":171,"line":206},[2086],{"type":43,"tag":169,"props":2087,"children":2088},{"style":176},[2089],{"type":49,"value":2090},"# Skip analyzers during development (not for CI!)\n",{"type":43,"tag":169,"props":2092,"children":2093},{"class":171,"line":255},[2094,2098,2102,2107],{"type":43,"tag":169,"props":2095,"children":2096},{"style":186},[2097],{"type":49,"value":8},{"type":43,"tag":169,"props":2099,"children":2100},{"style":191},[2101],{"type":49,"value":302},{"type":43,"tag":169,"props":2103,"children":2104},{"style":191},[2105],{"type":49,"value":2106}," \u002Fp:RunAnalyzers=",{"type":43,"tag":169,"props":2108,"children":2109},{"style":235},[2110],{"type":49,"value":2075},{"type":43,"tag":146,"props":2112,"children":2114},{"id":2113},"use-project-level-filtering",[2115],{"type":49,"value":2116},"Use Project-Level Filtering",{"type":43,"tag":158,"props":2118,"children":2120},{"className":160,"code":2119,"language":162,"meta":163,"style":163},"# Build only the project you're working on (and its dependencies)\ndotnet build src\u002FMyApp\u002FMyApp.csproj\n\n# Don't build the entire solution if you only need one project\n",[2121],{"type":43,"tag":89,"props":2122,"children":2123},{"__ignoreMap":163},[2124,2132,2148,2155],{"type":43,"tag":169,"props":2125,"children":2126},{"class":171,"line":172},[2127],{"type":43,"tag":169,"props":2128,"children":2129},{"style":176},[2130],{"type":49,"value":2131},"# Build only the project you're working on (and its dependencies)\n",{"type":43,"tag":169,"props":2133,"children":2134},{"class":171,"line":182},[2135,2139,2143],{"type":43,"tag":169,"props":2136,"children":2137},{"style":186},[2138],{"type":49,"value":8},{"type":43,"tag":169,"props":2140,"children":2141},{"style":191},[2142],{"type":49,"value":302},{"type":43,"tag":169,"props":2144,"children":2145},{"style":191},[2146],{"type":49,"value":2147}," src\u002FMyApp\u002FMyApp.csproj\n",{"type":43,"tag":169,"props":2149,"children":2150},{"class":171,"line":197},[2151],{"type":43,"tag":169,"props":2152,"children":2153},{"emptyLinePlaceholder":277},[2154],{"type":49,"value":280},{"type":43,"tag":169,"props":2156,"children":2157},{"class":171,"line":206},[2158],{"type":43,"tag":169,"props":2159,"children":2160},{"style":176},[2161],{"type":49,"value":2162},"# Don't build the entire solution if you only need one project\n",{"type":43,"tag":146,"props":2164,"children":2166},{"id":2165},"binary-log-for-all-investigations",[2167],{"type":49,"value":2168},"Binary Log for All Investigations",{"type":43,"tag":59,"props":2170,"children":2171},{},[2172],{"type":49,"value":2173},"Always start with a binlog:",{"type":43,"tag":158,"props":2175,"children":2177},{"className":160,"code":2176,"language":162,"meta":163,"style":163},"dotnet build \u002Fbl:perf.binlog -m\n",[2178],{"type":43,"tag":89,"props":2179,"children":2180},{"__ignoreMap":163},[2181],{"type":43,"tag":169,"props":2182,"children":2183},{"class":171,"line":172},[2184,2188,2192,2197],{"type":43,"tag":169,"props":2185,"children":2186},{"style":186},[2187],{"type":49,"value":8},{"type":43,"tag":169,"props":2189,"children":2190},{"style":191},[2191],{"type":49,"value":302},{"type":43,"tag":169,"props":2193,"children":2194},{"style":191},[2195],{"type":49,"value":2196}," \u002Fbl:perf.binlog",{"type":43,"tag":169,"props":2198,"children":2199},{"style":191},[2200],{"type":49,"value":312},{"type":43,"tag":59,"props":2202,"children":2203},{},[2204,2206,2211],{"type":49,"value":2205},"Then use the ",{"type":43,"tag":89,"props":2207,"children":2209},{"className":2208},[],[2210],{"type":49,"value":94},{"type":49,"value":2212}," skill and binlog tools for systematic bottleneck identification.",{"type":43,"tag":131,"props":2214,"children":2215},{},[],{"type":43,"tag":52,"props":2217,"children":2219},{"id":2218},"optimization-decision-tree",[2220],{"type":49,"value":2221},"Optimization Decision Tree",{"type":43,"tag":158,"props":2223,"children":2226},{"className":2224,"code":2225,"language":49},[592],"Is your no-op build slow (> 10s per project)?\n├── YES → See `incremental-build` skill (fix Inputs\u002FOutputs)\n└── NO\n    Is your cold build slow?\n    ├── YES\n    │   Is restore slow?\n    │   ├── YES → Optimize NuGet restore (use lock files, configure local cache)\n    │   └── NO\n    │       Is compilation slow?\n    │       ├── YES\n    │       │   Are analyzers\u002Fgenerators slow?\n    │       │   ├── YES → See `build-perf-diagnostics` skill\n    │       │   └── NO → Check parallelism, graph build, critical path (this skill + `build-parallelism`)\n    │       └── NO → Check custom targets (binlog analysis via `build-perf-diagnostics`)\n    └── NO\n        Is your warm build slow?\n        ├── YES → Projects rebuilding unnecessarily → check `incremental-build` skill\n        └── NO → Build is healthy! Consider graph build or UseArtifactsOutput for further gains\n",[2227],{"type":43,"tag":89,"props":2228,"children":2229},{"__ignoreMap":163},[2230],{"type":49,"value":2225},{"type":43,"tag":2232,"props":2233,"children":2234},"style",{},[2235],{"type":49,"value":2236},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2238,"total":2391},[2239,2253,2268,2283,2301,2313,2333,2343,2355,2364,2371,2381],{"slug":2240,"name":2240,"fn":2241,"description":2242,"org":2243,"tags":2244,"stars":2250,"repoUrl":2251,"updatedAt":2252},"multithreaded-task-migration","migrate MSBuild tasks to multithreaded mode","Guide for migrating MSBuild tasks to multithreaded mode support, including compatibility red-team review. Use this when converting tasks to thread-safe versions, implementing IMultiThreadableTask, adding TaskEnvironment support, or auditing migrations for behavioral compatibility.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2245,2248,2249],{"name":2246,"slug":2247,"type":15},".NET","net",{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},5535,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmsbuild","2026-07-22T05:37:33.965588",{"slug":2254,"name":2254,"fn":2255,"description":2256,"org":2257,"tags":2258,"stars":25,"repoUrl":26,"updatedAt":2267},"analyzing-dotnet-performance","analyze .NET code for performance anti-patterns","Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I\u002FO with tiered severity classification. Use when analyzing .NET code for optimization opportunities, reviewing hot paths, or auditing allocation-heavy patterns.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2259,2260,2263,2266],{"name":2246,"slug":2247,"type":15},{"name":2261,"slug":2262,"type":15},"Code Analysis","code-analysis",{"name":2264,"slug":2265,"type":15},"Debugging","debugging",{"name":13,"slug":14,"type":15},"2026-07-12T08:23:25.400375",{"slug":2269,"name":2269,"fn":2270,"description":2271,"org":2272,"tags":2273,"stars":25,"repoUrl":26,"updatedAt":2282},"android-tombstone-symbolication","symbolicate .NET runtime frames in Android tombstones","Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app crash from a tombstone, resolving native backtrace frames in libmonosgen-2.0.so or libcoreclr.so to .NET runtime source code, or investigating SIGABRT, SIGSEGV, or other native signals originating from the .NET runtime on Android. DO NOT USE FOR pure Java\u002FKotlin crashes, managed .NET exceptions that are already captured in logcat, or iOS crash logs. INVOKES Symbolicate-Tombstone.ps1 script, llvm-symbolizer, Microsoft symbol server.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2274,2275,2278,2279],{"name":2246,"slug":2247,"type":15},{"name":2276,"slug":2277,"type":15},"Android","android",{"name":2264,"slug":2265,"type":15},{"name":2280,"slug":2281,"type":15},"Microsoft","microsoft","2026-07-12T08:23:21.595572",{"slug":2284,"name":2284,"fn":2285,"description":2286,"org":2287,"tags":2288,"stars":25,"repoUrl":26,"updatedAt":2300},"apple-crash-symbolication","symbolicate .NET runtime frames in crash logs","Symbolicate .NET runtime frames in Apple platform .ips crash logs (iOS, tvOS, Mac Catalyst, macOS). Extracts UUIDs and addresses from the native backtrace, locates dSYM debug symbols, and runs atos to produce function names with source file and line numbers. Automatically downloads .dwarf symbols from the Microsoft symbol server using Mach-O UUIDs. USE FOR triaging a .NET MAUI or Mono app crash from an .ips file on any Apple platform, resolving native backtrace frames in libcoreclr or libmonosgen-2.0 to .NET runtime source code, retrieving .ips crash logs from a connected iOS device or iPhone, or investigating EXC_CRASH, EXC_BAD_ACCESS, SIGABRT, or SIGSEGV originating from the .NET runtime. DO NOT USE FOR pure Swift\u002FObjective-C crashes with no .NET components, or Android tombstone files. INVOKES Symbolicate-Crash.ps1 script, atos, dwarfdump, idevicecrashreport.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2289,2290,2291,2294,2297],{"name":2246,"slug":2247,"type":15},{"name":2264,"slug":2265,"type":15},{"name":2292,"slug":2293,"type":15},"iOS","ios",{"name":2295,"slug":2296,"type":15},"macOS","macos",{"name":2298,"slug":2299,"type":15},"Observability","observability","2026-07-12T08:23:20.369986",{"slug":2302,"name":2302,"fn":2303,"description":2304,"org":2305,"tags":2306,"stars":25,"repoUrl":26,"updatedAt":2312},"assertion-quality","evaluate assertion quality in test suites","Analyzes the variety and depth of assertions across test suites in any language. Use when the user asks to evaluate assertion quality, find shallow tests, identify assertion-free tests (no assertions or only trivial ones like Assert.IsNotNull \u002F toBeTruthy()), flag self-referential or tautological assertions, measure assertion diversity, or audit whether tests verify different facets of behavior. Polyglot: .NET, Python, TS\u002FJS, Java, Go, Ruby, Rust, Swift, Kotlin, PowerShell, C++. DO NOT USE FOR: writing new tests (use code-testing-agent \u002F writing-mstest-tests), mutation reasoning about whether tests would catch a bug (use test-gap-analysis), or a general severity-ranked anti-pattern audit (use test-anti-patterns), fixing or rewriting assertions, or writing, fixing, or modernizing MSTest tests, assertions, or attributes (use writing-mstest-tests).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2307,2308,2311],{"name":2261,"slug":2262,"type":15},{"name":2309,"slug":2310,"type":15},"QA","qa",{"name":23,"slug":24,"type":15},"2026-07-12T08:23:51.277743",{"slug":2314,"name":2314,"fn":2315,"description":2316,"org":2317,"tags":2318,"stars":25,"repoUrl":26,"updatedAt":2332},"author-component","create and review Blazor components","Create or review Blazor components (.razor files) with correct architecture. USE FOR: writing new Blazor components that do NOT involve JavaScript interop, implementing parameters and EventCallback, RenderFragment slots, component lifecycle (OnInitializedAsync, OnParametersSet), async patterns, IAsyncDisposable, CancellationToken, CSS isolation, code-behind. DO NOT USE FOR: creating new projects (use create-blazor-project), JavaScript interop or calling browser APIs from Blazor (use use-js-interop), forms and validation (use collect-user-input), prerendering issues (use support-prerendering), HTTP data fetching patterns (use fetch-and-send-data), coordinating state between unrelated components (use coordinate-components).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2319,2320,2323,2326,2329],{"name":2246,"slug":2247,"type":15},{"name":2321,"slug":2322,"type":15},"Blazor","blazor",{"name":2324,"slug":2325,"type":15},"C#","csharp",{"name":2327,"slug":2328,"type":15},"UI Components","ui-components",{"name":2330,"slug":2331,"type":15},"Web Development","web-development","2026-07-15T06:03:29.216359",{"slug":2334,"name":2334,"fn":2335,"description":2336,"org":2337,"tags":2338,"stars":25,"repoUrl":26,"updatedAt":2342},"binlog-failure-analysis","analyze MSBuild binary logs","Analyze MSBuild binary logs to diagnose build failures. USE FOR: build errors that are unclear from console output, diagnosing cascading failures across multi-project builds, tracing MSBuild target execution order, and generally any MSBuild build issues. Requires an existing .binlog file. DO NOT USE FOR: generating binlogs (use binlog-generation), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2339,2340,2341],{"name":2261,"slug":2262,"type":15},{"name":2264,"slug":2265,"type":15},{"name":2280,"slug":2281,"type":15},"2026-07-12T08:21:34.637923",{"slug":2344,"name":2344,"fn":2345,"description":2346,"org":2347,"tags":2348,"stars":25,"repoUrl":26,"updatedAt":2354},"binlog-generation","generate MSBuild binary logs for diagnostics","Generate MSBuild binary logs (binlogs) for build diagnostics and analysis. USE FOR: adding \u002Fbl:{} to any dotnet build, test, pack, publish, or restore command to capture a full build execution trace, prerequisite for binlog-failure-analysis and build-perf-diagnostics skills, enabling post-build investigation of errors or performance. Requires MSBuild 17.8+ \u002F .NET 8 SDK+ for {} placeholder; PowerShell needs -bl:{{}}. DO NOT USE FOR: non-MSBuild build systems (npm, Maven, CMake), analyzing an existing binlog (use binlog-failure-analysis instead).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2349,2352,2353],{"name":2350,"slug":2351,"type":15},"Build","build",{"name":2264,"slug":2265,"type":15},{"name":20,"slug":21,"type":15},"2026-07-19T05:38:19.340791",{"slug":116,"name":116,"fn":2356,"description":2357,"org":2358,"tags":2359,"stars":25,"repoUrl":26,"updatedAt":2363},"optimize MSBuild build parallelism","Diagnose and fix under-parallelized MSBuild builds. USE WHEN a multi-project solution build is slower than expected, doesn't speed up when you add cores, pegs a single core while others idle, or you want to know why `-m` isn't helping. Note: `\u002Fmaxcpucount` default is 1 (sequential) — always pass `-m` for parallel builds. Covers finding the critical path (longest serial ProjectReference chain), graph build (`\u002Fgraph`), BuildInParallel, and solution filters (`.slnf`). DO NOT USE FOR: single-project builds, incremental issues (use incremental-build), compilation slowness inside one project (use build-perf-diagnostics), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2360,2361,2362],{"name":2246,"slug":2247,"type":15},{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},"2026-07-19T05:38:18.364937",{"slug":4,"name":4,"fn":5,"description":6,"org":2365,"tags":2366,"stars":25,"repoUrl":26,"updatedAt":27},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2367,2368,2369,2370],{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"name":23,"slug":24,"type":15},{"slug":94,"name":94,"fn":2372,"description":2373,"org":2374,"tags":2375,"stars":25,"repoUrl":26,"updatedAt":2380},"diagnose MSBuild build performance bottlenecks","Diagnose MSBuild build performance bottlenecks using binary log analysis. USE FOR: identifying why builds are slow by analyzing binlog performance summaries, detecting ResolveAssemblyReference (RAR) taking >5s, Roslyn analyzers consuming >30% of Csc time, single targets dominating >50% of build time, node utilization below 80%, excessive Copy tasks, NuGet restore running every build. Covers timeline analysis, Target\u002FTask Performance Summary interpretation, and 7 common bottleneck categories. Use after build-perf-baseline has established measurements. DO NOT USE FOR: establishing initial baselines (use build-perf-baseline first), fixing incremental build issues (use incremental-build), parallelism tuning (use build-parallelism), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2376,2377,2378,2379],{"name":2246,"slug":2247,"type":15},{"name":2264,"slug":2265,"type":15},{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},"2026-07-12T08:21:40.961722",{"slug":2382,"name":2382,"fn":2383,"description":2384,"org":2385,"tags":2386,"stars":25,"repoUrl":26,"updatedAt":2390},"check-bin-obj-clash","detect MSBuild output path conflicts","Detects MSBuild projects with conflicting OutputPath or IntermediateOutputPath. USE FOR: builds failing with 'Cannot create a file when that file already exists', 'The process cannot access the file because it is being used by another process', intermittent build failures that succeed on retry, or missing\u002Foverwritten outputs in multi-project or multi-targeting builds where bin\u002Fobj (or project.assets.json) collide. Common causes: shared OutputPath, missing AppendTargetFrameworkToOutputPath, extra global properties (e.g. PublishReadyToRun), or SetTargetFramework on a ProjectReference to a single-targeting project. DO NOT USE FOR: file access errors unrelated to MSBuild (OS-level locking), single-project single-TFM builds, non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2387,2388,2389],{"name":2264,"slug":2265,"type":15},{"name":20,"slug":21,"type":15},{"name":2309,"slug":2310,"type":15},"2026-07-19T05:38:14.336279",144,{"items":2393,"total":2442},[2394,2401,2408,2416,2422,2430,2436],{"slug":2254,"name":2254,"fn":2255,"description":2256,"org":2395,"tags":2396,"stars":25,"repoUrl":26,"updatedAt":2267},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2397,2398,2399,2400],{"name":2246,"slug":2247,"type":15},{"name":2261,"slug":2262,"type":15},{"name":2264,"slug":2265,"type":15},{"name":13,"slug":14,"type":15},{"slug":2269,"name":2269,"fn":2270,"description":2271,"org":2402,"tags":2403,"stars":25,"repoUrl":26,"updatedAt":2282},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2404,2405,2406,2407],{"name":2246,"slug":2247,"type":15},{"name":2276,"slug":2277,"type":15},{"name":2264,"slug":2265,"type":15},{"name":2280,"slug":2281,"type":15},{"slug":2284,"name":2284,"fn":2285,"description":2286,"org":2409,"tags":2410,"stars":25,"repoUrl":26,"updatedAt":2300},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2411,2412,2413,2414,2415],{"name":2246,"slug":2247,"type":15},{"name":2264,"slug":2265,"type":15},{"name":2292,"slug":2293,"type":15},{"name":2295,"slug":2296,"type":15},{"name":2298,"slug":2299,"type":15},{"slug":2302,"name":2302,"fn":2303,"description":2304,"org":2417,"tags":2418,"stars":25,"repoUrl":26,"updatedAt":2312},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2419,2420,2421],{"name":2261,"slug":2262,"type":15},{"name":2309,"slug":2310,"type":15},{"name":23,"slug":24,"type":15},{"slug":2314,"name":2314,"fn":2315,"description":2316,"org":2423,"tags":2424,"stars":25,"repoUrl":26,"updatedAt":2332},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2425,2426,2427,2428,2429],{"name":2246,"slug":2247,"type":15},{"name":2321,"slug":2322,"type":15},{"name":2324,"slug":2325,"type":15},{"name":2327,"slug":2328,"type":15},{"name":2330,"slug":2331,"type":15},{"slug":2334,"name":2334,"fn":2335,"description":2336,"org":2431,"tags":2432,"stars":25,"repoUrl":26,"updatedAt":2342},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2433,2434,2435],{"name":2261,"slug":2262,"type":15},{"name":2264,"slug":2265,"type":15},{"name":2280,"slug":2281,"type":15},{"slug":2344,"name":2344,"fn":2345,"description":2346,"org":2437,"tags":2438,"stars":25,"repoUrl":26,"updatedAt":2354},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2439,2440,2441],{"name":2350,"slug":2351,"type":15},{"name":2264,"slug":2265,"type":15},{"name":20,"slug":21,"type":15},96]