:: Note: We've disabled node reuse because it causes file locking issues.
:: The issue is that we extend the build with our own targets which
:: means that that rebuilding cannot successfully delete the task
:: assembly.
ifnotdefinedVisualStudioVersion(
ifdefinedVS140COMNTOOLS(
call"%VS140COMNTOOLS%\VsDevCmd.bat"
goto:EnvSet
)
ifdefinedVS120COMNTOOLS(
call"%VS120COMNTOOLS%\VsDevCmd.bat"
goto:EnvSet
)
echo Error: build.cmd requires Visual Studio 2013 or 2015.
echo Please see https://github.com/dotnet/corefx/blob/master/Documentation/developer-guide.md for build instructions.
exit /b 1
)
:EnvSet
:: The property FilterToTestTFM is temporarily required because of https://github.com/dotnet/buildtools/commit/e9007c16b1832dbd0ea9669fa578b61900b7f724