anchor.diff:  if not exist "%__ObjDir%\ryujit.rsp" set __GenRespFiles=1
   if not exist "%__ObjDir%\cpp.rsp" set __GenRespFiles=1
   if "%__GenRespFiles%"=="1" (
  -    "%__DotNetCliPath%\bin\dotnet.exe" restore --quiet --source "https://dotnet.myget.org/F/dotnet-core" "%__ProjectDir%\src\ILCompiler\repro"
  +    "%__DotNetCliPath%\bin\dotnet.exe" restore --quiet --source "https://dotnet.myget.org/F/dotnet-core" "%__ReproProjectDir%"
       call "!VS140COMNTOOLS!\..\..\VC\vcvarsall.bat" %__BuildArch%
  -    "%__DotNetCliPath%\bin\dotnet.exe" build --native --ilcpath "%__BinDir%\.nuget\publish1" "%__ProjectDir%\src\ILCompiler\repro" -c %__BuildType%
  -    copy /y "src\ILCompiler\repro\obj\Debug\dnxcore50\native\dotnet-compile-native-ilc.rsp" "%__ObjDir%\ryujit.rsp"
  +    "%__DotNetCliPath%\bin\dotnet.exe" build --native --ilcpath "%__BinDir%\.nuget\publish1" "%__ReproProjectDir%" -c %__BuildType%
  +    copy /y "%__ReproProjectObjDir%\Debug\dnxcore50\native\dotnet-compile-native-ilc.rsp" "%__ObjDir%\ryujit.rsp"
  +
  +    rem Workaround for https://github.com/dotnet/cli/issues/1956
  +    rmdir /s /q "%__ReproProjectBinDir%"
  +    rmdir /s /q "%__ReproProjectObjDir%"
  +
       set __AdditionalCompilerFlags=
       if /i "%__BuildType%"=="debug" (
           set __AdditionalCompilerFlags=--cppcompilerflags /MTd
       )
  -    "%__DotNetCliPath%\bin\dotnet.exe" build --native --cpp --ilcpath "%__BinDir%\.nuget\publish1" "%__ProjectDir%\src\ILCompiler\repro" -c %__BuildType% !__AdditionalCompilerFlags!
  -    copy /y "src\ILCompiler\repro\obj\Debug\dnxcore50\native\dotnet-compile-native-ilc.rsp" "%__ObjDir%\cpp.rsp"
  +    "%__DotNetCliPath%\bin\dotnet.exe" build --native --cpp --ilcpath "%__BinDir%\.nuget\publish1" "%__ReproProjectDir%" -c %__BuildType% !__AdditionalCompilerFlags!
  +    copy /y "%__ReproProjectObjDir%\Debug\dnxcore50\native\dotnet-compile-native-ilc.rsp" "%__ObjDir%\cpp.rsp"
   )
   :AfterVsDevGenerateRespFiles
   
  
positive.code: set "__IntermediatesDir=%__RootBinDir%\obj\Native\%__BuildOS%.%__BuildArch%.%__BuildType%\"
  set "__RelativeProductBinDir=bin\Product\%__BuildOS%.%__BuildArch%.%__BuildType%"
  
  :: Generate path to be set for CMAKE_INSTALL_PREFIX to contain forward slash
  set "__CMakeBinDir=%__BinDir%"
  set "__CMakeBinDir=%__CMakeBinDir:\=/%"
  
negative.code: if exist "%__BinDir%" rd /s /q "%__BinDir%"
  if exist "%__ObjDir%" rd /s /q "%__ObjDir%"
  if exist "%__IntermediatesDir%" rd /s /q "%__IntermediatesDir%"
  
  if exist "%__ReproProjectBinDir%" rd /s /q "%__ReproProjectBinDir%"
  if exist "%__ReproProjectObjDir%" rd /s /q "%__ReproProjectObjDir%"
  
  if exist "%__LogsDir%" del /f /q "%__LogsDir%\*_%__BuildOS%__%__BuildArch%__%__BuildType%.*"
  
  