Loading...
Loading...
Guide for interpreting ResolveProjectReferences time in MSBuild performance summaries. Only activate in MSBuild/.NET build context. Activate when ResolveProjectReferences appears as the most expensive target and developers are trying to optimize it directly. Explains that the reported time includes wait time for dependent project builds and is misleading. Guides users to focus on task self-time instead. Do not activate for general build performance -- use build-perf-diagnostics instead.
npx skill4agent add dotnet/skills resolve-project-referencesResolveProjectReferencesResolveProjectReferencesResolveProjectReferencesbuild-perf-diagnosticsCscResolveAssemblyReference| Input | Required | Description |
|---|---|---|
| Build log or binlog | Yes | A diagnostic build log or binlog containing the Target Performance Summary |
ResolveProjectReferencesdotnet msbuild build.binlog -noconlog -fl "-flp:v=diag;logfile=full.log;performancesummary"
grep "Task Performance Summary" -A 50 full.logbuild-perf-diagnosticsbuild-perf-diagnosticsbuild-perf-diagnosticsbuild-parallelismResolveProjectReferencesCscCopyResolveAssemblyReference