Skip to content

Commit

Permalink
force dotnet upgrade as opposed to install to fix error dotnet/sdk#9500
Browse files Browse the repository at this point in the history
  • Loading branch information
foxmoat committed Feb 11, 2020
1 parent a188492 commit 641e782
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
Expand Down

0 comments on commit 641e782

Please sign in to comment.