Add the path to the dotnet being used to dotnet--info
Utilize ApplicationEnvironment.ApplicationBasePath of DotNet.PlatformAbstractions
This commit is contained in:
parent
706b8a802d
commit
98a3974557
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