}
std::string clrFilesPath(CLR_PATH);
- std::string toolDllsPath(TOOL_PATH);
+ std::string toolDllsPath(clrFilesPath + "/SOS");
std::string managedAssemblyPath;
std::string additionalProbingPath;
_SERR("This command is not currently supported.");
return -1;
} else {
- managedAssemblyPath = toolDllsPath + "/dotnet-" + arg + ".dll";
-
- if (!isFile(managedAssemblyPath)) {
+ std::string toolDll = "/dotnet-" + arg + ".dll";
+ std::string searchToolPath1 = toolDllsPath + toolDll;
+ std::string searchToolPath2 = std::string(TOOL_PATH) + toolDll;
+ if (isFile(searchToolPath1)) {
+ managedAssemblyPath = searchToolPath1;
+ } else if (isFile(searchToolPath2)) {
+ managedAssemblyPath = searchToolPath2;
+ } else {
_SERR(
"Could not execute because dotnet-%s does not exist.\n"
"Go to https://developer.samsung.com/tizen to learn how to install tools.\n", argv[0]);