Skip to content

Commit 71f5ec9

Browse files
committed
VS2017 Add some debug messages for Appveyor as build failing
1 parent ef07a06 commit 71f5ec9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

build.ps1

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)