summaryrefslogtreecommitdiff
path: root/run.cmd
diff options
context:
space:
mode:
authorJacek Blaszczynski <biosciencenow@outlook.com>2017-10-24 02:04:05 +0200
committerJacek Blaszczynski <biosciencenow@outlook.com>2017-10-24 02:04:05 +0200
commit811761c22da85b7bbc6861756ee20be906a04057 (patch)
tree78a79440e0abaa7c3eb5a3b7f81561a5ce4caa11 /run.cmd
parent83a3a7ddf9a399d1c065a6480b1c95d218a175dc (diff)
downloadcoreclr-811761c22da85b7bbc6861756ee20be906a04057.tar.gz
coreclr-811761c22da85b7bbc6861756ee20be906a04057.tar.bz2
coreclr-811761c22da85b7bbc6861756ee20be906a04057.zip
Cleanup VsDevCmd.bat usage and improve build system messages to ease diagnostics
Diffstat (limited to 'run.cmd')
-rw-r--r--run.cmd5
1 files changed, 4 insertions, 1 deletions
diff --git a/run.cmd b/run.cmd
index 56a0c3c08b..03f79cad46 100644
--- a/run.cmd
+++ b/run.cmd
@@ -16,7 +16,10 @@ setlocal
:: is already configured to use that toolset. Otherwise, we will fallback to using the VS2015
:: toolset if it is installed. Finally, we will fail the script if no supported VS instance
:: can be found.
-if defined VisualStudioVersion goto :Run
+if defined VisualStudioVersion (
+ if not defined __VSVersion echo %__MsgPrefix%Detected Visual Studio %VisualStudioVersion% developer command ^prompt environment
+ goto :Run
+)
set _VSWHERE="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
if exist %_VSWHERE% (