Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMorgan Brown <morganbr@users.noreply.github.com>2017-10-10 08:20:25 +0300
committerJan Kotas <jkotas@microsoft.com>2017-10-10 08:20:25 +0300
commit8f423ff10972c4fdcb8b315188b83fac398203ce (patch)
tree064e3c0133e0b4b1bea8a0a10802b9c2de56aede /tests
parent808e0e126fa92b0b052e70c92345051c186ec217 (diff)
Add the -prelease switch to vswhere in build scripts to allow them to find prerelease versions of Visual Studio. This fixes building on a machine that only has C++ installed in a preview build of VS 2017. (#4696)
Diffstat (limited to 'tests')
-rw-r--r--tests/runtest.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtest.cmd b/tests/runtest.cmd
index 1badeb118..606b2c0f3 100644
--- a/tests/runtest.cmd
+++ b/tests/runtest.cmd
@@ -107,7 +107,7 @@ if defined VisualStudioVersion goto :RunVCVars
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
)
call "%_VSCOMNTOOLS%\VsDevCmd.bat"