From 5b5232ee7470850c40fdaed7361a59ff7458b5d4 Mon Sep 17 00:00:00 2001 From: Felipe Pessoto Date: Thu, 27 Apr 2017 01:50:04 -0300 Subject: [PATCH] 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 --- src/coreclr/run.cmd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 ) -- 2.7.4