File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -214,6 +214,8 @@ function Msvs
214214 # Check if we already have vswhere which is included in newer versions of VS2017
215215 if (-not (Test-Path $vswherePath ))
216216 {
217+ Write-Diagnostic " Downloading VSWhere as no install found at $vswherePath "
218+
217219 # Check if we already have a local copy and download if required
218220 $vswherePath = Join-Path $WorkingDir \vswhere.exe
219221
@@ -224,9 +226,15 @@ function Msvs
224226 $client.DownloadFile (' https://github.com/Microsoft/vswhere/releases/download/2.2.11/vswhere.exe' , $vswherePath );
225227 }
226228 }
229+
230+ Write-Diagnostic " VSWhere path $vswherePath "
231+
227232 $VS2017InstallPath = & $vswherePath - version 15 - property installationPath
233+
234+ Write-Diagnostic " VS2017InstallPath: $VS2017InstallPath "
228235
229- if (-not (Test-Path $VS2017InstallPath )) {
236+ if (-not (Test-Path $VS2017InstallPath ))
237+ {
230238 Die " Visual Studio 2017 was not found"
231239 }
232240
You can’t perform that action at this time.
0 commit comments