mirror of
https://github.com/dotnet/skills.git
synced 2026-09-20 09:49:54 +08:00
18 lines
893 B
YAML
18 lines
893 B
YAML
scenarios:
|
|
- name: "Modernize legacy project to SDK-style"
|
|
prompt: "Modernize this project to SDK-style format. Identify all legacy patterns and suggest how to simplify the project file."
|
|
setup:
|
|
copy_test_files: true
|
|
assertions:
|
|
- type: "output_contains"
|
|
value: "Microsoft.NET.Sdk"
|
|
- type: "output_matches"
|
|
pattern: "(SDK-style|SDK style|Sdk)"
|
|
rubric:
|
|
- "Identified project as non-SDK-style (legacy format) and suggested migration to SDK-style"
|
|
- "Identified explicit Compile Include items as unnecessary due to SDK-style implicit globbing"
|
|
- "Identified framework Reference elements and explicit MSBuild Import statements as removable"
|
|
- "Identified AssemblyInfo.cs as replaceable by SDK auto-generation"
|
|
- "Provided a modernized .csproj example showing the dramatic reduction in boilerplate"
|
|
timeout: 120
|