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 a1f37d4 commit ac1d296Copy full SHA for ac1d296
tools/helper.psm1
@@ -119,7 +119,8 @@ function Resolve-ProtoBufToolPath
119
$nugetPath = Get-NugetPackagesPath
120
$toolsPath = "$RepoRoot/tools"
121
122
- if (-not (Test-Path "$toolsPath/obj/project.assets.json")) {
+ if (-not (Test-Path "$toolsPath/obj/project.assets.json") -or
123
+ -not (Test-Path "$nugetPath/grpc.tools/$GrpcToolsVersion")) {
124
dotnet restore $toolsPath --verbosity quiet
125
if ($LASTEXITCODE -ne 0) {
126
throw "Cannot resolve protobuf tools. 'dotnet restore $toolsPath' failed."
0 commit comments