From 5839b640f9c41530790a286fbab10678a6ab0bc7 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Wed, 2 Dec 2020 08:35:20 -0800 Subject: [PATCH 1/2] Don't install NET5 --- eng/pipelines/templates/steps/install-dotnet.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/eng/pipelines/templates/steps/install-dotnet.yml b/eng/pipelines/templates/steps/install-dotnet.yml index ee4c213923b1..108f2a6fae91 100644 --- a/eng/pipelines/templates/steps/install-dotnet.yml +++ b/eng/pipelines/templates/steps/install-dotnet.yml @@ -1,13 +1 @@ -steps: - - task: UseDotNet@2 - displayName: 'Use .NET Core SDK' - condition: ne(variables['Agent.OS'], 'Windows_NT') # Windows supports MultiLevelLookup and doesn't need explicit framework installation - inputs: - useGlobalJson: true - performMultiLevelLookup: true - - task: UseDotNet@2 - condition: ne(variables['Agent.OS'], 'Windows_NT') # Windows supports MultiLevelLookup and doesn't need explicit framework installation - displayName: 'Use .NET Core 2.1 runtime' - inputs: - packageType: runtime - version: "2.1.x" +steps: [] \ No newline at end of file From 7de9542fad64143d5c2a3862e7d83c99fff1282b Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Mon, 4 Jan 2021 08:25:08 -0800 Subject: [PATCH 2/2] Update install-dotnet.yml --- eng/pipelines/templates/steps/install-dotnet.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/eng/pipelines/templates/steps/install-dotnet.yml b/eng/pipelines/templates/steps/install-dotnet.yml index 108f2a6fae91..8ffad3412646 100644 --- a/eng/pipelines/templates/steps/install-dotnet.yml +++ b/eng/pipelines/templates/steps/install-dotnet.yml @@ -1 +1,15 @@ -steps: [] \ No newline at end of file +# All required SDKs/runtimes are available on DevOps agents +steps: [] +# Installation steps need to be uncommented when switching to a newer SDK that's not available on DevOps agents +#steps: +# - task: UseDotNet@2 +# displayName: 'Use .NET Core SDK' +# inputs: +# useGlobalJson: true +# performMultiLevelLookup: true +# - task: UseDotNet@2 +# condition: ne(variables['Agent.OS'], 'Windows_NT') # Windows supports MultiLevelLookup and doesn't need explicit framework installation +# displayName: 'Use .NET Core 2.1 runtime' +# inputs: +# packageType: runtime +# version: "2.1.x"