Skip to content

Commit

Permalink
Add workaround for broken tool restore in .NET 8 RC2
Browse files Browse the repository at this point in the history
  • Loading branch information
bart-vmware committed Oct 20, 2023
1 parent 8fcedab commit 1a7ba46
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/verify-code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ jobs:
inputs:
targetType: 'inline'
script: |
dotnet tool restore
# Workaround for bug in .NET 8 RC2 at https://github.com/dotnet/sdk/issues/35989
$tools = Get-Content ".config/dotnet-tools.json" | ConvertFrom-Json
foreach ($tool in $tools.tools.PsObject.Properties) {
& dotnet tool install $tool.Name --version $tool.Value.version
}
- task: PowerShell@2
displayName: Restore packages
inputs:
Expand Down

0 comments on commit 1a7ba46

Please sign in to comment.