From: Cho Woong Suk Date: Tue, 5 Dec 2017 05:24:53 +0000 (+0900) Subject: Coreclr needs original executable dll path not ni file path for dll loading. X-Git-Tag: accepted/tizen/4.0/unified/20180103.151728~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76bf02ca608ad78ee44ce5590e2605badce64ec4;p=platform%2Fcore%2Fdotnet%2Flauncher.git Coreclr needs original executable dll path not ni file path for dll loading. ni file searching is automatically done in the inside of coreclr Change-Id: I14fc7629431a3b082da06189dd2031a61b571afa --- diff --git a/NativeLauncher/launcher/dotnet/dotnet_launcher.cc b/NativeLauncher/launcher/dotnet/dotnet_launcher.cc index f19e5af..36df3ca 100644 --- a/NativeLauncher/launcher/dotnet/dotnet_launcher.cc +++ b/NativeLauncher/launcher/dotnet/dotnet_launcher.cc @@ -344,15 +344,6 @@ int CoreRuntime::launch(const char* appId, const char* root, const char* path, i bool success = false; if (launchFunction != nullptr) { - std::string cppPath(path); - - if (isManagedAssembly(cppPath) && !isNativeImage(cppPath)) { - size_t extindex = cppPath.size() - 4; - cppPath = cppPath.substr(0, extindex) + ".ni" + cppPath.substr(extindex, 4); - if (!fileNotExist(cppPath)) - path = cppPath.c_str(); - } - success = launchFunction(root, path, argc, argv); if (!success) _ERR("Failed to launch Application %s", path);