diff options
author | Matt Cohn <macohn@microsoft.com> | 2014-12-03 02:58:06 +0300 |
---|---|---|
committer | Matt Cohn <macohn@microsoft.com> | 2014-12-03 02:58:06 +0300 |
commit | c0581acc6abf91045cf8b2650e96b2d26eaedf57 (patch) | |
tree | 2ceda418ed6d592cd5f422fe2a1397a4dd77b082 /build.cmd | |
parent | f3372501968ba1c2337bec8eddd92cc0be9c0bd1 (diff) |
Cause build.cmd to set errorlevel to 1 on failed prereqs
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,9 +11,9 @@ set _msbuildexe="%ProgramFiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe" if not exist %_msbuildexe% set _msbuildexe="%ProgramFiles%\MSBuild\12.0\Bin\MSBuild.exe" if not exist %_msbuildexe% set _msbuildexe="%ProgramFiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe" if not exist %_msbuildexe% set _msbuildexe="%ProgramFiles%\MSBuild\14.0\Bin\MSBuild.exe" -if not exist %_msbuildexe% echo Error: Could not find MSBuild.exe. Please see https://github.com/dotnet/corefx/wiki/Developer%20Guide for build instructions. && goto :eof +if not exist %_msbuildexe% echo Error: Could not find MSBuild.exe. Please see https://github.com/dotnet/corefx/wiki/Developer%%20Guide for build instructions. && exit /b 1 -if not defined VSINSTALLDIR echo Error: build.cmd should be run from a Visual Studio Command Prompt. Please see https://github.com/dotnet/corefx/wiki/Developer%20Guide for build instructions. && goto :eof +if not defined VSINSTALLDIR echo Error: build.cmd should be run from a Visual Studio Command Prompt. Please see https://github.com/dotnet/corefx/wiki/Developer%%20Guide for build instructions. && exit /b 1 :: Log build command line set _buildprefix=echo |