Skip to content

Commit

Permalink
Added task to install specific .NET Core SDK as this should fix the i…
Browse files Browse the repository at this point in the history
…ssue of installing a global tool which is then not found by following tasks.

See more here: microsoft/azure-pipelines-tasks#8291 (comment).
  • Loading branch information
satrapu committed Nov 25, 2018
1 parent 06bca64 commit 33fdc6d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Build/azure-pipelines.job-template.yml
Expand Up @@ -12,6 +12,15 @@ jobs:
continueOnError: False
pool: ${{ parameters.pool }}
steps:
# Install specific .NET Core SDK.
# See more here: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/dotnet-core-tool-installer?view=vsts.
- task: task: DotNetCoreInstaller@0
displayName: Install .NET Core SDK
name: install_dotnetcore_sdk
enabled: true
inputs:
packageType: 'sdk'
version: '2.1.500'
# Compile source code.
# See more here: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/dotnet-core-cli?view=vsts.
- task: DotNetCoreCLI@2
Expand Down

0 comments on commit 33fdc6d

Please sign in to comment.