linux-packaging-mono/msvc/winsetup.bat
Xamarin Public Jenkins (auto-signing) ef583813eb Imported Upstream version 6.4.0.137
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
2019-07-26 19:53:28 +00:00

24 lines
464 B
Batchfile
Executable File

@echo off
setlocal
set BUILD_RESULT=1
:: Get path for current running script.
set RUN_WINSETUP_SCRIPT_PATH=%~dp0
:: Setup VS msbuild environment.
call %RUN_WINSETUP_SCRIPT_PATH%setup-vs-msbuild-env.bat
call "msbuild.exe" /t:RunWinConfigSetup %RUN_WINSETUP_SCRIPT_PATH%mono.winconfig.targets && (
set BUILD_RESULT=0
) || (
set BUILD_RESULT=1
if not %ERRORLEVEL% == 0 (
set BUILD_RESULT=%ERRORLEVEL%
)
)
exit /b %BUILD_RESULT%
@echo on