eval-performance

Diagnose MSBuild project evaluation performance bottlenecks using preprocessing and performance summaries.

2|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/sayedihashimi/copilot-skill-eval --skill eval-performance-sayedihashimi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eval-performance
Source: https://github.com/sayedihashimi/copilot-skill-eval/tree/main/examples/aspnet-razor-pages/plugins/dotnet-skills/dotnet-msbuild/skills/eval-performance
Command: npx skills add https://github.com/sayedihashimi/copilot-skill-eval --skill eval-performance-sayedihashimi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

MSBuild evaluation can be a bottleneck, delaying startup and slowing builds due to large import graphs, expensive glob patterns, and preprocessing workloads.

Core Features & Use Cases

  • Diagnostics for MSBuild evaluation performance across projects and configurations.
  • Guidance to optimize DefaultItemExcludes, reduce import depth, and limit expensive property functions during evaluation.
  • Applicable in local development and CI to identify and mitigate slow evaluation before compilation.

Quick Start

Run dotnet msbuild -pp:full.xml MyProject.csproj with /clp:PerformanceSummary to identify evaluation bottlenecks.

Frequently Asked Questions about eval-performance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose slow MSBuild evaluation performance bottlenecks in .NET?

Analyze MSBuild evaluation performance by capturing preprocessing output and performance summaries to pinpoint slow evaluation phases, heavy glob patterns, deep import chains, and preprocessing workloads affecting .NET builds.

Why does MSBuild evaluation take so long during my .NET build startup?

MSBuild evaluation slows down .NET startup due to large import graphs, expensive glob patterns, and preprocessing workloads that delay compilation and increase build times in both local development and CI environments.

What is the best way to optimize DefaultItemExcludes to speed up MSBuild evaluation?

Optimize DefaultItemExcludes by analyzing glob patterns during MSBuild evaluation to reduce unnecessary file scanning, limiting expensive property functions, and minimizing import depth to improve overall .NET build performance.

Can I use MSBuild preprocessing diagnostics for .NET builds in CI pipelines?

MSBuild preprocessing diagnostics apply to .NET builds in CI pipelines, using /pp and /clp:PerformanceSummary to identify and mitigate slow evaluation bottlenecks before compilation runs in automated environments.

How do I identify deep import chains causing MSBuild evaluation delays?

Identify deep import chains by generating MSBuild preprocessing output with /pp:full.xml and analyzing the import graph to locate heavy dependencies and expensive property functions slowing down project evaluation.