[threads] clear small_id_key TLS when unregistering a thread (#16973)
[mono-project.git] / msvc / winsetup.bat
blobaa6c882155cef031d90dcf468d1d6a0f77c17e16
1 @echo off
2 setlocal
4 set BUILD_RESULT=1
6 :: Get path for current running script.
7 set RUN_WINSETUP_SCRIPT_PATH=%~dp0
9 :: Setup VS msbuild environment.
10 call %RUN_WINSETUP_SCRIPT_PATH%setup-vs-msbuild-env.bat
12 call "msbuild.exe" /t:RunWinConfigSetup %RUN_WINSETUP_SCRIPT_PATH%mono.winconfig.targets && (
13     set BUILD_RESULT=0
14 ) || (
15     set BUILD_RESULT=1
16     if not %ERRORLEVEL% == 0 (
17         set BUILD_RESULT=%ERRORLEVEL%
18     )
21 exit /b %BUILD_RESULT%
23 @echo on