mirror of
https://github.com/dotnet/skills.git
synced 2026-09-20 09:49:54 +08:00
27 lines
1.1 KiB
YAML
27 lines
1.1 KiB
YAML
name: resolve-project-references
|
|
description: Evaluates the dotnet-msbuild/resolve-project-references skill
|
|
type: capability
|
|
config:
|
|
timeout: 2m
|
|
stimuli:
|
|
- name: Explain misleading ResolveProjectReferences time
|
|
prompt: Our team found that ResolveProjectReferences is the most expensive target in our build. Review the project
|
|
structure and the performance report, then advise whether this is a real bottleneck and what we should actually
|
|
optimize.
|
|
environment:
|
|
files:
|
|
- src: .
|
|
dest: .
|
|
graders:
|
|
- type: output-matches
|
|
config:
|
|
pattern: (Task Performance Summary|task.?self.?time|wall.?clock|wait)
|
|
- type: prompt
|
|
rubric:
|
|
- Explained that ResolveProjectReferences time is misleading because it includes wait time for dependent project
|
|
builds
|
|
- Recommended using Task Performance Summary instead of Target Performance Summary for accurate profiling
|
|
- Identified that the real bottlenecks are in actual tasks like Csc, RAR, or Copy — not ResolveProjectReferences
|
|
itself
|
|
- Advised against trying to optimize or skip ResolveProjectReferences directly
|