From: Woongsuk Date: Thu, 24 Apr 2025 21:47:47 +0000 (+0900) Subject: Add appPath to appNIPath X-Git-Tag: accepted/tizen/7.0/unified/20250425.091957^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_7.0_unified;p=platform%2Fcore%2Fdotnet%2Flauncher.git Add appPath to appNIPath In case of RPK, The native image and Dll exist in the same location, and it is mounted to application's "bin" directory. (not in .native_image directory). And Dlls in RPK is loaded by Assembly.Load() method in Tizen 7.0. To load native image of RPK, add appPath to appNIPath, --- diff --git a/NativeLauncher/util/path_manager.cc b/NativeLauncher/util/path_manager.cc index 2eac3b7..2a062cd 100644 --- a/NativeLauncher/util/path_manager.cc +++ b/NativeLauncher/util/path_manager.cc @@ -64,7 +64,7 @@ void PathManager::updateAppRelatedPath(const std::string& appRootPath, const std appTacPath = concatPath(appBinPath, TAC_SYMLINK_SUB_DIR); appPaths = appRootPath + ":" + appBinPath + ":" + appLibPath + ":" + appTacPath; - appNIPaths = appNIBinPath + ":" + appNILibPath + ":" + appTacPath; + appNIPaths = appNIBinPath + ":" + appNILibPath + ":" + appPaths; if (!extraDllPaths.empty()) { appPaths = appPaths + ":" + extraDllPaths;