aboutsummaryrefslogtreecommitdiff
path: root/scripts/bootstrap.ps1
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-11-30 16:43:41 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-11-30 16:43:59 -0800
commitfdf7c65aa4ea53e580a85c9b984109c4f4446da5 (patch)
tree6a0fd03477f26e4958c692f3a11185d98ae540dc /scripts/bootstrap.ps1
parent0aa1bfe293454874eeae33ce80f2469ea28edb59 (diff)
downloadvcpkg-fdf7c65aa4ea53e580a85c9b984109c4f4446da5.tar.gz
vcpkg-fdf7c65aa4ea53e580a85c9b984109c4f4446da5.zip
Exit early if no VS is found
Diffstat (limited to 'scripts/bootstrap.ps1')
-rw-r--r--scripts/bootstrap.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bootstrap.ps1 b/scripts/bootstrap.ps1
index ca7b1a0ce..3f40a2ead 100644
--- a/scripts/bootstrap.ps1
+++ b/scripts/bootstrap.ps1
@@ -46,7 +46,7 @@ try
& $msbuildExe "/p:VCPKG_VERSION=-$gitHash" "/p:DISABLE_METRICS=$disableMetrics" /p:Configuration=Release /p:Platform=x86 /p:PlatformToolset=$platformToolset /p:TargetPlatformVersion=$windowsSDK /m dirs.proj
if ($LASTEXITCODE -ne 0)
{
- Write-Error "Building vcpkg.exe failed. Please ensure you have installed the Desktop C++ workload and the Windows SDK for Desktop C++."
+ Write-Error "Building vcpkg.exe failed. Please ensure you have installed Visual Studio with the Desktop C++ workload and the Windows SDK for Desktop C++."
return
}