| 123456789101112131415161718192021222324252627282930313233 | @echo offrem We use the version of MSBuild that is included in .NET 4.0 / 4.5set MSBUILD_HOME=%WINDIR%\Microsoft.NET\Framework\v4.0.30319rem MSBuild project file is located in the same directory as the current scriptset MSBUILD_PROJECT=%~dp0\build.projset MSBUILD_EXE=%MSBUILD_HOME%\msbuild.exerem verify whether the version of MSBuild that we need is installedif not exist %MSBUILD_EXE% goto msbuild_missingrem launch the build scriptcall %MSBUILD_HOME%\msbuild.exe %MSBUILD_PROJECT% /verbosity:minimal /nologoif errorlevel 1 goto msbuild_failuregoto :EOF:msbuild_missingecho.echo Build FAILED.echo.echo MSBuild is not available in the following directory:echo %MSBUILD_HOME%echo.echo Please check your local setup.goto :EOF:msbuild_failureecho.echo Build FAILED.echo.echo Please check the MSBuild output for information on the cause.
 |