diff --git a/eng/pipelines/templates/jobs/archetype-sdk-client.yml b/eng/pipelines/templates/jobs/archetype-sdk-client.yml index 4892296c02d3..59a4a5c20078 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-client.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-client.yml @@ -184,6 +184,11 @@ jobs: Pool: ${{ parameters.WindowsPool }} # Comment out to swap back to public hosted pool. OSVmImage: # "windows-2019" # Comment back in to swap back to public hosted pool. TestTargetFramework: net5.0 + Windows_Net50_ProjectReferences: + Pool: ${{ parameters.WindowsPool }} # Comment out to swap back to public hosted pool. + OSVmImage: # "windows-2019" # Comment back in to swap back to public hosted pool. + TestTargetFramework: net5.0 + ConvertToProjectReferenceOption: /p:UseProjectReferenceToAzureClients=true pool: vmImage: "$(OSVmImage)" name: "$(Pool)" diff --git a/eng/pipelines/templates/stages/archetype-sdk-tests.yml b/eng/pipelines/templates/stages/archetype-sdk-tests.yml index 7f5ca7c2a8d5..47531da3c223 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-tests.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-tests.yml @@ -80,6 +80,10 @@ parameters: Windows_Net50: OSVmImage: "windows-2019" TestTargetFramework: net5.0 + Windows_NetCoreApp_ProjectReferences: + OSVmImage: "windows-2019" + TestTargetFramework: net5.0 + AdditionalTestArguments: "/p:UseProjectReferenceToAzureClients=true" - name: PlatformPreSteps type: object default: