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 && (
16 if not %ERRORLEVEL% == 0 (
17 set BUILD_RESULT=%ERRORLEVEL%
21 exit /b %BUILD_RESULT%