Class DotNetExe
- Namespace
- McMaster.Extensions.CommandLineUtils
- Assembly
- McMaster.Extensions.CommandLineUtils.dll
Utilities for finding the "dotnet.exe" file from the currently running .NET Core application.
public static class DotNetExe
- Inheritance
-
objectDotNetExe
Properties
FullPath
The full filepath to the .NET Core CLI executable.
May be null if the CLI cannot be found.
public static string? FullPath { get; }
Property Value
- string
The path or null
- See Also
Methods
FullPathOrDefault()
Finds the full filepath to the .NET Core CLI executable,
or returns a string containing the default name of the .NET Core muxer ('dotnet').
public static string FullPathOrDefault()