Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't install NET5 #17281

Merged
2 commits merged into from
Jan 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 15 additions & 13 deletions eng/pipelines/templates/steps/install-dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
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"
# 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"