Skip to content

Commit ee7b6fc

Browse files
authored
Add project reference NET5 test configuration (Azure#17967)
1 parent 9f7f8b7 commit ee7b6fc

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

eng/pipelines/templates/jobs/archetype-sdk-client.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ jobs:
184184
Pool: ${{ parameters.WindowsPool }} # Comment out to swap back to public hosted pool.
185185
OSVmImage: # "windows-2019" # Comment back in to swap back to public hosted pool.
186186
TestTargetFramework: net5.0
187+
Windows_Net50_ProjectReferences:
188+
Pool: ${{ parameters.WindowsPool }} # Comment out to swap back to public hosted pool.
189+
OSVmImage: # "windows-2019" # Comment back in to swap back to public hosted pool.
190+
TestTargetFramework: net5.0
191+
ConvertToProjectReferenceOption: /p:UseProjectReferenceToAzureClients=true
187192
pool:
188193
vmImage: "$(OSVmImage)"
189194
name: "$(Pool)"

eng/pipelines/templates/stages/archetype-sdk-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ parameters:
8080
Windows_Net50:
8181
OSVmImage: "windows-2019"
8282
TestTargetFramework: net5.0
83+
Windows_NetCoreApp_ProjectReferences:
84+
OSVmImage: "windows-2019"
85+
TestTargetFramework: net5.0
86+
AdditionalTestArguments: "/p:UseProjectReferenceToAzureClients=true"
8387
- name: PlatformPreSteps
8488
type: object
8589
default:

0 commit comments

Comments
 (0)