From 641e78204f81d9a7504a9c7731a6de9a797e8e80 Mon Sep 17 00:00:00 2001 From: Joshua Amira Date: Tue, 11 Feb 2020 01:51:21 +0000 Subject: [PATCH] force dotnet upgrade as opposed to install to fix error https://github.com/dotnet/sdk/issues/9500 --- azure-pipelines.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 38ba5b63732..3c3fc543533 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -88,17 +88,12 @@ steps: arguments: '--no-restore --configuration $(buildConfiguration)' projects: '**/*.csproj' -- task: UseDotNet@2 - displayName: 'Use .NET Core SDK $(dotnetSdkVersion)' - inputs: - version: '$(dotnetSdkVersion)' - - task: DotNetCoreCLI@2 displayName: 'Install ReportGenerator' inputs: command: custom custom: tool - arguments: 'install --global dotnet-reportgenerator-globaltool' + arguments: 'update --global dotnet-reportgenerator-globaltool' - task: DotNetCoreCLI@2 displayName: 'Run unit tests - $(buildConfiguration)'