From fea2196716f913f9465448e46752b60d1ba2f466 Mon Sep 17 00:00:00 2001 From: Nikita Bykov Date: Wed, 2 Sep 2020 09:28:51 +0300 Subject: [PATCH] debug --- win-vs-env.psm1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/win-vs-env.psm1 b/win-vs-env.psm1 index 1eb9093..9742c9c 100644 --- a/win-vs-env.psm1 +++ b/win-vs-env.psm1 @@ -34,9 +34,11 @@ function Invoke-Environment } function Get-VSInstallationPath { + Write-Host "ProgramFiles(x86) - ${env:ProgramFiles(x86)}" $vswhere = Get-VSWhere + Write-Host "vswhere - $vswhere" $installationPath = & $vswhere -prerelease -legacy -latest -property installationPath - + Write-Host "Done" return $installationPath }