summaryrefslogtreecommitdiff
path: root/run.cmd
diff options
context:
space:
mode:
authorJacek Blaszczynski <biosciencenow@outlook.com>2017-10-27 20:58:51 +0200
committerJacek Blaszczynski <biosciencenow@outlook.com>2017-10-27 20:58:51 +0200
commit2ab0c55a62f6e63f0ec18a5978d333c9f04ef2dc (patch)
tree5890ab0cb6f37f67600c6fde8f2716835416f93e /run.cmd
parent6df222e00e1c959609e642634575b88b5feab88f (diff)
downloadcoreclr-2ab0c55a62f6e63f0ec18a5978d333c9f04ef2dc.tar.gz
coreclr-2ab0c55a62f6e63f0ec18a5978d333c9f04ef2dc.tar.bz2
coreclr-2ab0c55a62f6e63f0ec18a5978d333c9f04ef2dc.zip
Address code review feedback
Diffstat (limited to 'run.cmd')
-rw-r--r--run.cmd4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.cmd b/run.cmd
index 03f79cad46..295604bbd0 100644
--- a/run.cmd
+++ b/run.cmd
@@ -23,11 +23,11 @@ if defined VisualStudioVersion (
set _VSWHERE="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
if exist %_VSWHERE% (
- for /f "usebackq tokens=*" %%i in (`%_VSWHERE% -latest -property installationPath`) do set _VSCOMNTOOLS=%%i\Common7\Tools
+ for /f "usebackq tokens=*" %%i in (`%_VSWHERE% -latest -prerelease -property installationPath`) do set _VSCOMNTOOLS=%%i\Common7\Tools
)
if not exist "%_VSCOMNTOOLS%" set _VSCOMNTOOLS=%VS140COMNTOOLS%
if not exist "%_VSCOMNTOOLS%" (
- echo Error: Visual Studio 2015 or 2017 required.
+ echo %__MsgPrefix%Error: Visual Studio 2015 or 2017 required.
echo Please see https://github.com/dotnet/corefx/blob/master/Documentation/project-docs/developer-guide.md for build instructions.
exit /b 1
)