From 1e2fd8f387086e91153354c59a347aab5df6c4fc Mon Sep 17 00:00:00 2001 From: Naoto Kondo Date: Fri, 8 Jul 2022 12:38:07 +0900 Subject: [PATCH] Specify .netcore version to 2.1 for msvc2019 --- azure-pipelines.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 91aff3d99..67b55edb1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -258,6 +258,13 @@ jobs: } displayName: 'Create placeholder depth engine' + - task: UseDotNet@2 + displayName: 'Use .NET Core SDK 2.1' + inputs: + packageType: 'sdk' + version: '2.1.x' + condition: and(succeeded(), eq(variables['vmImage'], 'windows-2019')) + - task: NuGetToolInstaller@0 inputs: versionSpec: '>=4.3.1'