anchor.diff:  if /i '%ARG%' == 'build' (
       set BUILD_PORTABLE=1
       set BUILD_VS=1
  +)
  +
  +if /i "%BUILD_FSC_DEFAULT%" == "coreclr" (
  +    set BUILD_CORECLR=1
   )
   
   goto :EOF
  
positive.code: )
  
  
  set DOTNET_HOME=.\packages\dotnet
  set _dotnetexe=.\packages\dotnet\dotnet.exe
  if '%BUILD_CORECLR%' == '1' (
    rem check to see if the dotnet cli tool exists
    if not exist %_dotnetexe% (
      echo Error: Could not find %_dotnetexe%.
      rem do zipfile install nonsense
      if not exist packages ( md packages )
      if exist packages\dotnet ( rd packages /s /q )
      powershell.exe -executionpolicy unrestricted -command .\scripts\install-dotnetcli.ps1 https://dotnetcli.blob.core.windows.net/dotnet/beta/Binaries/Latest/dotnet-dev-win-x64.latest.zip packages
      @if ERRORLEVEL 1 echo Error: fetch dotnetcli failed && goto :failure
      popd
    )
  
    pushd .\lkg & ..\%_dotnetexe% restore &popd
    @if ERRORLEVEL 1 echo Error: dotnet restore failed  && goto :failure
  
negative.code: goto :MAIN
  
  :SET_CONFIG
  rem if no arguments are passed on the command line then use the BUILD_FSC_DEFAULT environment variable to specify default build options
  rem ===================================================================================================================================
  set ARG=%~1
  if "%ARG%" == "1" if "%2" == "" (set ARG=build)
  if "%2" == "" if not "%ARG%" == "build" goto :EOF
  
  echo Parse argument %ARG%
  