
resolve-project-references
Guide for interpreting ResolveProjectReferences time in MSBuild performance
by dotnetFree
Description
Misleading ResolveProjectReferences Time is an agent skill that explains a common misreading of MSBuild performance summaries. ResolveProjectReferences often appears as the most expensive target in the Target Performance Summary, and developers then try to optimize it directly. The skill explains that its reported time is wall-clock wait time, not CPU work, so the number reflects waiting rather than work the target itself does, and tuning the target will not shorten it. It applies when this target tops the summary, when a developer is trying to optimize it directly, or when a single target takes 50 to 80 percent of total build time. It does not apply to general build performance work, which the build-perf-diagnostics skill covers, or when a different target such as Csc or ResolveAssemblyReference is the clear bottleneck. It also needs a binary log or performance summary before it draws conclusions. The skill is published by dotnet/skills on skills.sh with about 4.4K installs.…
Highlights
- Explains that the reported time is wall-clock wait
- Stops direct tuning of ResolveProjectReferences
- Applies when one target takes most of the build
- Needs a binlog or performance summary first
- Points general work to build-perf-diagnostics
Ratings & Reviews
No ratings yet
Be the first to rate resolve-project-references.
People also visit

eval-performance
Guide for diagnosing and improving MSBuild project evaluation performance

build-perf-diagnostics
Diagnose MSBuild build performance bottlenecks using binary log analysis

build-perf-baseline
Establish MSBuild/.NET build performance baselines before optimizing
resolve-project-references FAQ
What is the Misleading ResolveProjectReferences Time skill?
It is an instruction set for an AI coding agent that explains why ResolveProjectReferences looks expensive in MSBuild summaries and what that number means.
How do I install it?
Run npx skills add https://github.com/dotnet/skills --skill resolve-project-references in your project.
Why does ResolveProjectReferences look so slow?
The reported time is wall-clock wait time, not CPU work, so the target appears expensive even when there is little to optimize in it.
Do I need a binary log?
Yes. The skill applies once a binary log or performance summary has been captured.
Does the skill pass its security audits?
Yes. On skills.sh the audits show Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best resolve-project-references alternatives?
Popular alternatives to resolve-project-references include eval-performance, build-perf-diagnostics and build-perf-baseline. See all resolve-project-references alternatives
