Skip to content

Commit

Permalink
Fix building with only VS2017 installed. (dotnet#11182)
Browse files Browse the repository at this point in the history
The fix was originally made in dotnet/corefx#18700
  • Loading branch information
felipepessoto authored and jkotas committed Apr 27, 2017
1 parent 4d1df63 commit a034028
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion run.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,15 @@ xcopy %~dp0Tools-Override\* %~dp0Tools /y >nul

set _toolRuntime=%~dp0Tools
set _dotnet=%_toolRuntime%\dotnetcli\dotnet.exe
set _json=%~dp0config.json

:: run.exe depends on running in the root directory, notably because the config.json specifies
:: a relative path to the binclash logger

pushd %~dp0
echo Running: %_dotnet% %_toolRuntime%\run.exe %~dp0config.json %*
call %_dotnet% %_toolRuntime%\run.exe %~dp0config.json %*
call %_dotnet% %_toolRuntime%\run.exe "%_json%" %*
popd
if NOT [%ERRORLEVEL%]==[0] (
exit /b 1
)
Expand Down

0 comments on commit a034028

Please sign in to comment.