From 0f6b9cdf858f5bd1f7d6665d644ec7c290a2b3c7 Mon Sep 17 00:00:00 2001 From: Brett White Date: Mon, 18 Nov 2024 13:49:29 -0800 Subject: [PATCH] Install all .NET versions in pipeline to fix run tests task --- build/template-install-dependencies.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/build/template-install-dependencies.yaml b/build/template-install-dependencies.yaml index f0213ea4b..191df3dd0 100644 --- a/build/template-install-dependencies.yaml +++ b/build/template-install-dependencies.yaml @@ -3,6 +3,26 @@ #install dotnet core steps: +- task: UseDotNet@2 + displayName: 'Use .NET SDK 3.1' + inputs: + version: 3.1.x + +- task: UseDotNet@2 + displayName: 'Use .NET SDK 6.0.x' + inputs: + version: 6.0.x + +- task: UseDotNet@2 + displayName: 'Use .NET SDK 7.0.x' + inputs: + version: 7.0.x + +- task: UseDotNet@2 + displayName: 'Use .NET SDK 8.0.x' + inputs: + version: 8.0.x + - task: UseDotNet@2 displayName: 'Use .NET SDK 9.0.x' inputs: