From c0a148438e114d68bd4c89005fc747bb2b3c191e Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Wed, 13 Jan 2021 16:42:54 -0800 Subject: [PATCH 1/3] Simulate packaging issues --- sdk/core/Azure.Core/src/Azure.Core.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/core/Azure.Core/src/Azure.Core.csproj b/sdk/core/Azure.Core/src/Azure.Core.csproj index e5bd001daa8a..6f33db514e25 100644 --- a/sdk/core/Azure.Core/src/Azure.Core.csproj +++ b/sdk/core/Azure.Core/src/Azure.Core.csproj @@ -12,7 +12,7 @@ false - + From f0d86d852ec38e8d3332f389dacc2fbc44b423bd Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Thu, 14 Jan 2021 12:54:21 -0800 Subject: [PATCH 2/3] add test targets --- eng/pipelines/templates/jobs/archetype-sdk-client.yml | 5 +++++ eng/pipelines/templates/stages/archetype-sdk-tests.yml | 4 ++++ 2 files changed, 9 insertions(+) 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: From 9001050987ed03652ac54392255b5d01f1398b09 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Thu, 14 Jan 2021 14:29:43 -0800 Subject: [PATCH 3/3] Update Azure.Core.csproj --- sdk/core/Azure.Core/src/Azure.Core.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/core/Azure.Core/src/Azure.Core.csproj b/sdk/core/Azure.Core/src/Azure.Core.csproj index 6f33db514e25..e5bd001daa8a 100644 --- a/sdk/core/Azure.Core/src/Azure.Core.csproj +++ b/sdk/core/Azure.Core/src/Azure.Core.csproj @@ -12,7 +12,7 @@ false - +