anchor.diff:  set __msbuildWrn=/flp1:WarningsOnly;LogFile="%__BuildWrn%"
   set __msbuildErr=/flp2:ErrorsOnly;LogFile="%__BuildErr%"
   
  -call %__ProjectDir%\run.cmd build -Project="%__NativeTestIntermediatesDir%\install.vcxproj" -MsBuildLog=!__msbuildLog! -MsBuildWrn=!__msbuildWrn! -MsBuildErr=!__msbuildErr! %__msbuildNativeArgs% %__RunArgs% %__unprocessedBuildArgs%
  +call "%__ProjectDir%\run.cmd" build -Project="%__NativeTestIntermediatesDir%\install.vcxproj" -MsBuildLog=!__msbuildLog! -MsBuildWrn=!__msbuildWrn! -MsBuildErr=!__msbuildErr! %__msbuildNativeArgs% %__RunArgs% %__unprocessedBuildArgs%
   if errorlevel 1 (
       echo %__MsgPrefix%Error: build failed. Refer to the build log files for details:
       echo     %__BuildLog%
  
positive.code: REM === Restore Build Tools
  REM ===
  REM =========================================================================================
  call %__ProjectDir%\init-tools.cmd 
  
  REM =========================================================================================
  REM ===
  REM === Resolve runtime dependences
  REM ===
  REM =========================================================================================
  call %__TestDir%\setup-runtime-dependencies.cmd /arch %__BuildArch% /outputdir %__BinDir%
  
  if defined __UpdateInvalidPackagesArg (
    goto skipnative
  
negative.code: set "CORE_ROOT=%XunitTestBinBase%\Tests\Core_Root"
  set "CORE_OVERLAY=%XunitTestBinBase%\Tests\coreoverlay"
  
  call "%__ProjectDir%\run.cmd" build -Project=%__ProjectDir%\tests\build.proj  -UpdateDependencies -BatchRestorePackages -MsBuildLog=!__msbuildLog! -MsBuildWrn=!__msbuildWrn! -MsBuildErr=!__msbuildErr! %__RunArgs% %__BuildAgainstPackagesArg% %__unprocessedBuildArgs%
  
  set __BuildLogRootName=Tests_GenerateRuntimeLayout
  
  call "%__ProjectDir%\run.cmd" build -Project=%__ProjectDir%\tests\runtest.proj -BinPlaceRef -BinPlaceProduct -CopyCrossgenToProduct -MsBuildLog=!__msbuildLog! -MsBuildWrn=!__msbuildWrn! -MsBuildErr=!__msbuildErr! %__RunArgs% %__BuildAgainstPackagesArg% %__unprocessedBuildArgs%
  if errorlevel 1 (
      echo BinPlace of mscorlib.dll failed
      exit /b 1
  