From 52e58a440645c5bb66261e035d49c4120a1c277f Mon Sep 17 00:00:00 2001 From: danielpalme Date: Wed, 12 Jun 2019 20:24:42 +0200 Subject: [PATCH] Build improvements (Updated dotnet core) --- azure-pipelines.yml | 19 ++++++++++++++++++- src/global.json | 2 +- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 76144ebb..58806e6f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -4,7 +4,7 @@ # https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net pool: - vmImage: 'VS2017-Win2016' + vmImage: 'windows-2019' variables: solution: '**/*.sln' @@ -27,6 +27,23 @@ steps: command: custom custom: '--version' +- task: DotNetCoreInstaller@0 + displayName: 'Use .NET Core SDK 2.2.300' + inputs: + version: 2.2.300 + +- task: DotNetCoreCLI@2 + displayName: 'dotnet info' + inputs: + command: custom + custom: '--info' + +- task: DotNetCoreCLI@2 + displayName: 'dotnet version' + inputs: + command: custom + custom: '--version' + - task: NuGetToolInstaller@0 displayName: 'Use NuGet 4.9.3' inputs: diff --git a/src/global.json b/src/global.json index f3266b3e..300cbb8a 100644 --- a/src/global.json +++ b/src/global.json @@ -1,5 +1,5 @@ { "sdk": { - "version": "2.2.104" + "version": "2.2.300" } } \ No newline at end of file