Add .NET 9 in probing paths list (#4518)
authorAdeel Mujahid <3840695+am11@users.noreply.github.com>
Tue, 20 Feb 2024 23:17:44 +0000 (01:17 +0200)
committerGitHub <noreply@github.com>
Tue, 20 Feb 2024 23:17:44 +0000 (15:17 -0800)
src/SOS/extensions/hostcoreclr.cpp

index 0ec62b486ce0c730bab2970ab0650bccb18c6c81..43ca023e54d183c5e3a81a5c5b73404dc27c9c0b 100644 (file)
@@ -71,7 +71,8 @@ namespace RuntimeHostingConstants
     constexpr RuntimeVersion SupportedHostRuntimeVersions[] = {
         {7, 0},
         {6, 0},
-        {8, 0}
+        {8, 0},
+        {9, 0},
     };
 
     constexpr char DotnetRootEnvVar[] = "DOTNET_ROOT";
@@ -124,6 +125,7 @@ namespace RuntimeHostingConstants
         "/rh-dotnet60/root/usr/bin/dotnet",
         "/rh-dotnet70/root/usr/bin/dotnet",
         "/rh-dotnet80/root/usr/bin/dotnet",
+        "/rh-dotnet90/root/usr/bin/dotnet",
         "/usr/share/dotnet",
 #endif
     };