pull/15/head
Nikita Bykov 5 years ago
parent 17960054c9
commit 9a4ab4b068

@ -3,9 +3,8 @@
###
function Get-VSWhere {
$PF = ${env:ProgramFiles(x86)}
$vswhere = "$PF\Microsoft Visual Studio\Installer\vswhere.exe";
Write-Host "vswhere - $vswhere"
$vswhere = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe";
if (-not (Test-Path $vswhere )) {
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
$vswhere = ".\vswhere.exe"

Loading…
Cancel
Save