diff --git a/build.psm1 b/build.psm1 index 4f5ee151a3..3b69e4f7e7 100644 --- a/build.psm1 +++ b/build.psm1 @@ -139,7 +139,7 @@ function Start-PSBuild { $vcVarsPath = (Get-Item(Join-Path -Path "$env:VS140COMNTOOLS" -ChildPath '../../vc')).FullName if ((Test-Path -Path $vcVarsPath\vcvarsall.bat) -eq $false) { - throw "Could not find Visual Studio vcvarsall.bat at" + $vcVarsPath + throw "Could not find Visual Studio vcvarsall.bat at $vcVarsPath. Please ensure the optional feature 'Common Tools for Visual C++' is installed." } # setup msbuild configuration