anchor.diff:  endlocal
   exit /b 0
   
  +REM =========================================================================================
  +REM ===
  +REM === Subroutine to invoke msbuild.
  +REM ===
  +REM === All arguments are passed to msbuild. The first argument should be the .proj file to invoke.
  +REM ===
  +REM === On entry, environment variable __BuildLogRootName must be set to a file name prefix for the generated log files.
  +REM === All the "standard" environment variables that aren't expected to change per invocation must also be set,
  +REM === like __msbuildCommonArgs.
  +REM ===
  +REM === The build log files will be overwritten, not appended to.
  +REM ===
  +REM =========================================================================================
  +
   :msbuild
  -@REM Subroutine to invoke msbuild. All arguments are passed to msbuild. The first argument should be the
  -@REM .proj file to invoke.
  -@REM
  -@REM On entry, __BuildLogRootName must be set to a file name prefix for the generated log file.
  -@REM All the "standard" environment variables that aren't expected to change per invocation must also be set,
  -@REM like __msbuildCommonArgs.
  -@REM
  -@REM The build log files will be overwritten, not appended to.
   
   echo %__MsgPrefix%Invoking msbuild
   
  
positive.code: 
  :SkipCoreRootSetup
  
  
  if defined __TestEnv (if not exist %__TestEnv% echo %__MsgPrefix%Error: Test Environment script %__TestEnv% not found && exit /b 1)
  
  REM These log files are created automatically by the test run process. Q: what do they depend on being set?
  set __TestRunHtmlLog=%__LogsDir%\TestRun_%__BuildOS%__%__BuildArch%__%__BuildType%.html
  set __TestRunXmlLog=%__LogsDir%\TestRun_%__BuildOS%__%__BuildArch%__%__BuildType%.xml
  
  
  if "%__PerfTests%"=="true" goto RunPerfTests
  
  call :ResolveDependecies
  
  if defined __DoCrossgen call :PrecompileFX
  
  if  defined __GenerateLayoutOnly (
      REM Delete the unecessary mscorlib.ni file.
      if exist %CORE_ROOT%\mscorlib.ni.dll del %CORE_ROOT%\mscorlib.ni.dll
      exit /b 0
  )
  
  if not exist %CORE_ROOT%\coreclr.dll (
      echo %__MsgPrefix%Error: Ensure you have done a successful build of the Product and %CORE_ROOT% contains runtime binaries.
      exit /b 1
  )
  
  ::Check if the test Binaries are built
  
negative.code:    echo     Html report: %__TestRunHtmlLog%  
  )  
  
  goto TestsDone
  
  REM =========================================================================================
  REM ===
  REM === All tests complete!
  REM ===
  REM =========================================================================================
  
  :TestsDone
  
  echo %__MsgPrefix%Test run successful. Refer to the log files for details:
  echo     %__TestRunHtmlLog%
  