summaryrefslogtreecommitdiff
path: root/build-test.cmd
diff options
context:
space:
mode:
authorJacek Blaszczynski <biosciencenow@outlook.com>2017-10-27 18:58:51 (GMT)
committerJacek Blaszczynski <biosciencenow@outlook.com>2017-10-27 18:58:51 (GMT)
commit2ab0c55a62f6e63f0ec18a5978d333c9f04ef2dc (patch)
tree5890ab0cb6f37f67600c6fde8f2716835416f93e /build-test.cmd
parent6df222e00e1c959609e642634575b88b5feab88f (diff)
downloadcoreclr-2ab0c55a62f6e63f0ec18a5978d333c9f04ef2dc.zip
coreclr-2ab0c55a62f6e63f0ec18a5978d333c9f04ef2dc.tar.gz
coreclr-2ab0c55a62f6e63f0ec18a5978d333c9f04ef2dc.tar.bz2
Address code review feedback
Diffstat (limited to 'build-test.cmd')
-rw-r--r--build-test.cmd6
1 files changed, 2 insertions, 4 deletions
diff --git a/build-test.cmd b/build-test.cmd
index 56527bd..7da1807 100644
--- a/build-test.cmd
+++ b/build-test.cmd
@@ -9,7 +9,7 @@ set __BuildOS=Windows_NT
:: Define a prefix for most output progress messages that come from this script. That makes
:: it easier to see where these are coming from. Note that there is a trailing space here.
-set __MsgPrefix=BUILDTEST:
+set "__MsgPrefix=BUILDTEST: "
:: Default to highest Visual Studio version available
::
@@ -33,7 +33,7 @@ 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%" (
@@ -123,8 +123,6 @@ if defined __BuildAgainstPackagesArg (
)
)
-:: echo %__MsgPrefix%Using environment: "%__VSToolsRoot%\VsDevCmd.bat"
-:: call "%__VSToolsRoot%\VsDevCmd.bat"
@if defined _echo @echo on
set __RunArgs=-BuildOS=%__BuildOS% -BuildType=%__BuildType% -BuildArch=%__BuildArch%