anchor.diff:      "runtime.win7-%__Arch%.Microsoft.NETCore.CoreDisTools": "1.0.1-prerelease-*" ^
       }, ^
       "frameworks": { "dnxcore50": { } } ^
  -    } > "%__JasonFilePath%"
  +    } > "%__JsonFilePath%"
   
  -echo Jason file: %__JasonFilePath%
  -type "%__JasonFilePath%"
  +echo JSON file: %__JsonFilePath%
  +type "%__JsonFilePath%"
   
   REM Download the package
   echo Downloading CoreDisTools package
  -set DOTNETCMD="%__DotNetCmd%" restore "%__JasonFilePath%" --source https://dotnet.myget.org/F/dotnet-core/ --packages "%__PackageDir%"
  +set DOTNETCMD="%__DotNetCmd%" restore "%__JsonFilePath%" --source https://dotnet.myget.org/F/dotnet-core/ --packages "%__PackageDir%"
   echo %DOTNETCMD%
   call %DOTNETCMD%
   if errorlevel 1 goto Fail
  
positive.code: set __PackageDir=%__ThisScriptPath%..\Packages
  set __TmpDir=%Temp%\coreclr_gcstress_%RANDOM%
  
  REM Check if donet cli exists
  if not exist "%__DotNetToolDir%" (
      echo Directory containing dotnet CLI does not exist: %__DotNetToolDir%
      goto Fail
  
negative.code: 
  :Usage
  echo.
  echo Download coredistools for GC stress testing
  echo.
  echo Usage:
  echo     %__ThisScriptShort% /arch ^<TargetArch^> /outputdir ^<coredistools_lib_install_path^>
  