diff options
author | Jacek Blaszczynski <biosciencenow@outlook.com> | 2017-10-24 02:04:05 +0200 |
---|---|---|
committer | Jacek Blaszczynski <biosciencenow@outlook.com> | 2017-10-24 02:04:05 +0200 |
commit | 811761c22da85b7bbc6861756ee20be906a04057 (patch) | |
tree | 78a79440e0abaa7c3eb5a3b7f81561a5ce4caa11 /run.cmd | |
parent | 83a3a7ddf9a399d1c065a6480b1c95d218a175dc (diff) | |
download | coreclr-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.cmd | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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% ( |