From: Felipe Pessoto Date: Thu, 27 Apr 2017 04:50:04 +0000 (-0300) Subject: Fix building with only VS2017 installed. (dotnet/coreclr#11182) X-Git-Tag: submit/tizen/20210909.063632~11030^2~7098 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b5232ee7470850c40fdaed7361a59ff7458b5d4;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Fix building with only VS2017 installed. (dotnet/coreclr#11182) The fix was originally made in https://github.com/dotnet/corefx/pull/18700 Commit migrated from https://github.com/dotnet/coreclr/commit/a0340286301356cde220684fc5c1b0402652e954 --- diff --git a/src/coreclr/run.cmd b/src/coreclr/run.cmd index 5327df4..0fae662 100644 --- a/src/coreclr/run.cmd +++ b/src/coreclr/run.cmd @@ -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 )