From 327402c5c08bdbb3903735b20b76fe1d73819eb9 Mon Sep 17 00:00:00 2001 From: Yongseop Kim Date: Tue, 5 Sep 2017 18:03:34 +0900 Subject: [PATCH 22/29] Enable loading directly ni file for corerun temporarily --- src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp b/src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp index f97f262..a1db5c1 100644 --- a/src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp +++ b/src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp @@ -314,6 +314,7 @@ int ExecuteManagedAssembly( GetDirectory(managedAssemblyAbsolutePath, appPath); std::string tpaList; + /* if (strlen(managedAssemblyAbsolutePath) > 0) { // Target assembly should be added to the tpa list. Otherwise corerun.exe @@ -322,6 +323,7 @@ int ExecuteManagedAssembly( tpaList = managedAssemblyAbsolutePath; tpaList.append(":"); } + */ // Construct native search directory paths std::string nativeDllSearchDirs(appPath); -- 2.7.4