From 0062813c731ff2a0866d86a2b0558c67b8091f37 Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Tue, 31 Mar 2020 13:14:16 -0600 Subject: [PATCH] make.bat: Improve messaging when not detecting MSVC Inspired by @mrwhite in D7295 --- build_files/windows/detect_msvc_vswhere.cmd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build_files/windows/detect_msvc_vswhere.cmd b/build_files/windows/detect_msvc_vswhere.cmd index 609375cee89..52f765c20c4 100644 --- a/build_files/windows/detect_msvc_vswhere.cmd +++ b/build_files/windows/detect_msvc_vswhere.cmd @@ -27,7 +27,13 @@ if NOT "%verbose%" == "" ( if "%VS_InstallDir%"=="" ( if NOT "%verbose%" == "" ( - echo Visual Studio is detected but the "Desktop development with C++" workload has not been instlled + echo. + echo Visual Studio is detected but no suitable installation was found. + echo. + echo Check the "Desktop development with C++" workload has been installed. + echo. + echo If you are attempting to use either Visual Studio Preview version or the Visual C++ Build tools, Please see 'make help' on how to opt in to those toolsets. + echo. goto FAIL ) )