Merge pull request #4793 from wli3/dotnet_info_should_display_the_path

Add the path to the dotnet being used to --info
This commit is contained in:
Livar 2016-11-21 13:22:01 -08:00 committed by GitHub
commit 740a7fe3fd

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)