anchor.diff:  
       @call %~dp0run.cmd build -Project=%__IntermediatesDir%\install.vcxproj -MsBuildLog=!__MsbuildLog! -MsBuildWrn=!__MsbuildWrn! -MsBuildErr=!__MsbuildErr! -configuration=%__BuildType% %nativePlatfromArgs% %__RunArgs% %__UnprocessedBuildArgs%
   
  -    if %errorlevel% == 1 (
  +    if not !errorlevel! == 0 (
           echo %__MsgPrefix%Error: native component build failed. Refer to the build log files for details:
           echo     "%__LogsDir%\CoreCLR_%__BuildOS%__%__BuildArch%__%__BuildType%.log"
           echo     "%__LogsDir%\CoreCLR_%__BuildOS%__%__BuildArch%__%__BuildType%.wrn"
  
positive.code:     REM The conditions as to what to build are captured in the builds file.
      @call %~dp0run.cmd build -buildPackages -platform=%__BuildArch% -MsBuildLog=!__MsbuildLog! -MsBuildWrn=!__MsbuildWrn! -MsBuildErr=!__MsbuildErr! %__RunArgs% %__UnprocessedBuildArgs%
  
      if %errorlevel% == 1 (
          echo %__MsgPrefix%Error: Nuget package generation failed build failed. Refer to the build log files for details:
          echo     "%__LogsDir%\Nuget_%__BuildOS%__%__BuildArch%__%__BuildType%.log"
          echo     "%__LogsDir%\Nuget_%__BuildOS%__%__BuildArch%__%__BuildType%.wrn"
  
negative.code: 
      pushd "%__CrossCompIntermediatesDir%"
      set __CMakeBinDir=%__CrossComponentBinDir%
      set "__CMakeBinDir=!__CMakeBinDir:\=/!"
      set __ExtraCmakeArgs="-DCLR_CROSS_COMPONENTS_BUILD=1" "-DCLR_CMAKE_TARGET_ARCH=%__BuildArch%"
      call "%__SourceDir%\pal\tools\gen-buildsys-win.bat" "%__ProjectDir%" %__VSVersion% %__CrossArch% !__ExtraCmakeArgs!
      @if defined __echo @echo on
      popd
  :SkipConfigureCrossBuild
  