File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -247,10 +247,10 @@ function Start-BuildNativeWindowsBinaries {
247247 }
248248 Write-Verbose - Verbose " VCPath: $vcPath "
249249
250- $alternateVCPath = (Get-ChildItem " ${env: ProgramFiles} \Microsoft Visual Studio\2022 " - Filter " VC" - Directory - Recurse - ErrorAction SilentlyContinue) | Select-Object - First 1 - ExpandProperty FullName
250+ $alternateVCPath = (Get-ChildItem " ${env: ProgramFiles} \Microsoft Visual Studio\2017 " - Filter " VC" - Directory - Recurse - ErrorAction SilentlyContinue) | Select-Object - First 1 - ExpandProperty FullName
251251
252252 if (-not $alternateVCPath ) {
253- $alternateVCPath = (Get-ChildItem " ${env: ProgramFiles(x86)} \Microsoft Visual Studio\2022 " - Filter " VC" - Directory - Recurse - ErrorAction SilentlyContinue) | Select-Object - First 1 - ExpandProperty FullName
253+ $alternateVCPath = (Get-ChildItem " ${env: ProgramFiles(x86)} \Microsoft Visual Studio\2017 " - Filter " VC" - Directory - Recurse - ErrorAction SilentlyContinue) | Select-Object - First 1 - ExpandProperty FullName
254254 }
255255
256256 Write-Verbose - Verbose " alternateVCPath: $alternateVCPath "
@@ -356,7 +356,6 @@ function Start-BuildNativeWindowsBinaries {
356356 } else {
357357 $cmakeGenerator = ' Visual Studio 15 2017 Win64'
358358 $cmakeArch = ' x64'
359- $cmakeGeneratorPlatform = " -A x64"
360359 }
361360 }
362361 # Compile native resources
You can’t perform that action at this time.
0 commit comments