Skip to content

Commit 7ef1927

Browse files
committed
Add debugging to C# InstallLocations.cs to determine why the support path is wrong
1 parent 09d1b11 commit 7ef1927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: csharp/runner/SnippetRunner/InstallLocations.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private static bool IsDirectory(string path)
222222

223223
Console.Error.WriteLine();
224224
Console.Error.WriteLine("---------------------------------");
225-
Console.Error.WriteLine("PLATFORM ID: " + PlatformID.MacOSX);
225+
Console.Error.WriteLine("PLATFORM ID: " + Environment.OSVersion.Platform);
226226
Console.Error.WriteLine("DEFAULT SUPPORT PATH: " + defaultSupportPath);
227227
Console.Error.WriteLine("HOME SUPPORT PATH: " + homeSupport.FullName);
228228
Console.Error.WriteLine("---------------------------------");

0 commit comments

Comments
 (0)