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