Optimizing Msbuild Performance

Guides performance optimization for MSBuild engine code. Consult when working on hot paths in evaluation or execution, reducing allocations, choosing collection types, handling strings efficiently, modifying Expander.cs or Evaluator.cs, using Span<T>/stackalloc, caching values, or profiling build performance. Also applies when reviewing PRs for performance regression.

.NET (Microsoft) b265458 5.2 KB Updated 4k repo stars

File contents

dotnet/msbuild/tree/main/.github/skills/optimizing-msbuild-performance commit b2654587ff

Frequently asked questions

npx skillmds@latest add dotnet/optimizing-msbuild-performance