We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78040f8 commit 430bcb6Copy full SHA for 430bcb6
tools/helper.psm1
@@ -128,7 +128,8 @@ function Resolve-ProtoBufToolPath
128
$nugetPath = Get-NugetPackagesPath
129
$toolsPath = "$RepoRoot/tools"
130
131
- if (-not (Test-Path "$toolsPath/obj/project.assets.json")) {
+ if (-not (Test-Path "$toolsPath/obj/project.assets.json") -or
132
+ -not (Test-Path "$nugetPath/grpc.tools/$GrpcToolsVersion")) {
133
dotnet restore $toolsPath --verbosity quiet
134
if ($LASTEXITCODE -ne 0) {
135
throw "Cannot resolve protobuf tools. 'dotnet restore $toolsPath' failed."
0 commit comments