anchor.diff:  echo linuxmscorlib - Build mscorlib for Linux
   echo osxmscorlib - Build mscorlib for OS X
   echo skiptestbuild - Skip building tests
  -exit /b 1
  +echo toolset_dir - toolset directory -- Arm64 use only.
  +exit /b 1
  
positive.code: echo Usage:
  echo %0 BuildArch BuildType [clean] [vsversion] where:
  echo.
  echo BuildArch can be: x64, x86
  echo BuildType can be: Debug, Release
  echo Clean - optional argument to force a clean build.
  echo VSVersion - optional argument to use VS2013 or VS2015 (default VS2015)
  
negative.code: 
  :: All set to commence the build
  
  setlocal EnableDelayedExpansion
  if defined __MscorlibOnly goto PerformMScorlibBuild
  
  echo Commencing build of native components for %__BuildOS%.%__BuildArch%.%__BuildType%
  echo.
  
  rem arm64 builds currently use private toolset which has not been released yet
  if /i "%__BuildArch%" == "arm64"  (
    REM TODO, remove once the toolset is open.
  
    if not "%__BuildOS%" == "Windows_NT" goto GenVSSolution
  
    if /i "%__ToolsetDir%" == "" (
      echo "A toolset directory is required for the Arm64 Windows build."
      exit /b 1
    )
  )
  
  REM TODO, remove once the toolset is open.
  if /i "%__BuildArch%" == "arm64" set PATH=%PATH%;%__ToolsetDir%\cpp\bin
  if /i "%__BuildArch%" == "arm64" set LIB=%__ToolsetDir%\OS\lib
  if /i "%__BuildArch%" == "arm64" set INCLUDE="%__ToolsetDir%\cpp\inc;%__ToolsetDir%\OS\inc\Windows;%__ToolsetDir%\OS\inc\Windows\crt;%__ToolsetDir%\cpp\inc\vc;%__ToolsetDir%\OS\inc\win8"
  
  if /i "%__BuildArch%" == "arm64" goto GenVSSolution
  
  :: Set the environment for the native build
  set __VCBuildArch=x86_amd64
  