Skip to content

Commit e5d9817

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

csharp/runner/SnippetRunner/InstallLocations.cs

+2
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ private static bool IsDirectory(string path)
201201

202202
switch (Environment.OSVersion.Platform)
203203
{
204+
case Pl
204205
case PlatformID.Win32NT:
205206
defaultInstallPath = homeInstall.FullName;
206207
defaultSupportPath = homeSupport.FullName;
@@ -222,6 +223,7 @@ private static bool IsDirectory(string path)
222223

223224
Console.Error.WriteLine();
224225
Console.Error.WriteLine("---------------------------------");
226+
Console.Error.WriteLine("IS MACOS: " + OperatingSystem.IsMacOS());
225227
Console.Error.WriteLine("PLATFORM ID: " + Environment.OSVersion.Platform);
226228
Console.Error.WriteLine("DEFAULT SUPPORT PATH: " + defaultSupportPath);
227229
Console.Error.WriteLine("HOME SUPPORT PATH: " + homeSupport.FullName);

0 commit comments

Comments
 (0)