Add the path to the dotnet being used to dotnet--info

Utilize ApplicationEnvironment.ApplicationBasePath of
DotNet.PlatformAbstractions
This commit is contained in:
William Li 2016-11-20 10:24:01 -08:00
parent 706b8a802d
commit 98a3974557

View file

@ -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)