Update azure-pipelines yml to proper dotnet core version
MODIFY
azure-pipelines-linux.yml
azure-pipelines-linux.yml
@@ -6,6 +6,12 @@ jobs:
pool:
vmImage: 'ubuntu-16.04'
steps:
+ - task: UseDotNet@2
+ displayName: 'Use .NET Core sdk'
+ inputs:
+ packageType: sdk
+ version: 2.2.402
+ installationPath: $(Agent.ToolsDirectory)/dotnet
- task: DotNetCoreCLI@2
inputs:
command: build

MODIFY
azure-pipelines-osx.yml
azure-pipelines-osx.yml
@@ -6,6 +6,12 @@ jobs:
pool:
vmImage: 'macOS-10.13'
steps:
+ - task: UseDotNet@2
+ displayName: 'Use .NET Core sdk'
+ inputs:
+ packageType: sdk
+ version: 2.2.402
+ installationPath: $(Agent.ToolsDirectory)/dotnet
- task: DotNetCoreCLI@2
inputs:
command: build

MODIFY
azure-pipelines-windows.yml
azure-pipelines-windows.yml
@@ -6,6 +6,12 @@ jobs:
pool:
vmImage: 'vs2017-win2016'
steps:
+ - task: UseDotNet@2
+ displayName: 'Use .NET Core sdk'
+ inputs:
+ packageType: sdk
+ version: 2.2.402
+ installationPath: $(Agent.ToolsDirectory)/dotnet
- task: DotNetCoreCLI@2
inputs:
command: build

Update azure-pipelines yml to proper dotnet core version