From 98a3974557929bdc4c6fbef651b232d4a632502e Mon Sep 17 00:00:00 2001 From: William Li Date: Sun, 20 Nov 2016 10:24:01 -0800 Subject: [PATCH] Add the path to the dotnet being used to dotnet--info Utilize ApplicationEnvironment.ApplicationBasePath of DotNet.PlatformAbstractions --- src/dotnet/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dotnet/Program.cs b/src/dotnet/Program.cs index 436dbff63..429f4567a 100644 --- a/src/dotnet/Program.cs +++ b/src/dotnet/Program.cs @@ -244,6 +244,7 @@ namespace Microsoft.DotNet.Cli Reporter.Output.WriteLine($" OS Version: {RuntimeEnvironment.OperatingSystemVersion}"); Reporter.Output.WriteLine($" OS Platform: {RuntimeEnvironment.OperatingSystemPlatform}"); Reporter.Output.WriteLine($" RID: {GetDisplayRid(versionFile)}"); + Reporter.Output.WriteLine($" Base Path: {ApplicationEnvironment.ApplicationBasePath}"); } private static bool IsArg(string candidate, string longName)