Files
2026-07-10 02:19:48 +00:00

33 lines
1.2 KiB
YAML

name: check-bin-obj-clash
description: Evaluates the dotnet-msbuild/check-bin-obj-clash skill
type: capability
config:
timeout: 160s
stimuli:
- name: Diagnose bin/obj output path clashes
prompt: Build this solution and diagnose any build failures related to output path conflicts.
environment:
files:
- src: .
dest: .
graders:
- type: output-contains
config:
substring: AppendTargetFrameworkToOutputPath
- type: output-contains
config:
substring: OutputPath
- type: output-contains
config:
substring: IntermediateOutputPath
- type: prompt
rubric:
- Identified MultiTargetLib has AppendTargetFrameworkToOutputPath=false causing net8.0 and net9.0 to write to the
same output directory
- Identified LibraryA and LibraryB share ../SharedOutput/ as OutputPath causing build artifacts to overwrite each
other
- Identified LibraryA and LibraryB share ../SharedObj/ as IntermediateOutputPath causing project.assets.json
conflicts
- Suggested giving each project unique output and intermediate output paths
- Referenced BaseIntermediateOutputPath vs IntermediateOutputPath concepts