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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2020-01-13 22:47:35 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2020-01-13 22:47:35 +0300
commita5cc4cd9ec6a595231c7aeb84a8166c736b867e3 (patch)
tree58bd56809d7894ede1bf72f6c3248c8933147d3a /msvc/setup-vs-msvcbuild-env.bat
parent8bd438f318b6bafdd610ca94760c7f70097b6a31 (diff)
Write version.h for netcore and allow preview VS for msvc builds
Diffstat (limited to 'msvc/setup-vs-msvcbuild-env.bat')
-rwxr-xr-xmsvc/setup-vs-msvcbuild-env.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/msvc/setup-vs-msvcbuild-env.bat b/msvc/setup-vs-msvcbuild-env.bat
index 5371fb02682..4c4a9257585 100755
--- a/msvc/setup-vs-msvcbuild-env.bat
+++ b/msvc/setup-vs-msvcbuild-env.bat
@@ -51,7 +51,7 @@ set VS_2019_VCINSTALL_DIR=
:: Try to locate installed VS2019 VC environment.
if exist "%VSWHERE_TOOLS_BIN%" (
- for /f "tokens=*" %%a in ('"%VSWHERE_TOOLS_BIN%" -version [16.0^,17.0] -property installationPath') do (
+ for /f "tokens=*" %%a in ('"%VSWHERE_TOOLS_BIN%" -version [16.0^,17.0] -prerelease -property installationPath') do (
set VS_2019_VCINSTALL_DIR=%%a\VC\
)
)
@@ -207,4 +207,4 @@ goto setup_build_env_exit
exit /b 1
:setup_build_env_exit
-goto :EOF \ No newline at end of file
+goto :EOF