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:
commit
740a7fe3fd
1 changed files with 1 additions and 0 deletions
|
@ -244,6 +244,7 @@ namespace Microsoft.DotNet.Cli
|
||||||
Reporter.Output.WriteLine($" OS Version: {RuntimeEnvironment.OperatingSystemVersion}");
|
Reporter.Output.WriteLine($" OS Version: {RuntimeEnvironment.OperatingSystemVersion}");
|
||||||
Reporter.Output.WriteLine($" OS Platform: {RuntimeEnvironment.OperatingSystemPlatform}");
|
Reporter.Output.WriteLine($" OS Platform: {RuntimeEnvironment.OperatingSystemPlatform}");
|
||||||
Reporter.Output.WriteLine($" RID: {GetDisplayRid(versionFile)}");
|
Reporter.Output.WriteLine($" RID: {GetDisplayRid(versionFile)}");
|
||||||
|
Reporter.Output.WriteLine($" Base Path: {ApplicationEnvironment.ApplicationBasePath}");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static bool IsArg(string candidate, string longName)
|
private static bool IsArg(string candidate, string longName)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue