Search Results for

    Show / Hide Table of Contents

    Class DotNetExe

    Utilities for finding the "dotnet.exe" file from the currently running .NET Core application.

    Inheritance
    System.Object
    DotNetExe
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: McMaster.Extensions.CommandLineUtils
    Assembly: McMaster.Extensions.CommandLineUtils.dll
    Syntax
    public static class DotNetExe

    Properties

    | Improve this Doc View Source

    FullPath

    The full filepath to the .NET Core CLI executable.

    May be null if the CLI cannot be found. FullPathOrDefault()

    Declaration
    public static string? FullPath { get; }
    Property Value
    Type Description
    System.Nullable<System.String>

    The path or null

    Methods

    | Improve this Doc View Source

    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'). The path or a string named 'dotnet'

    Declaration
    public static string FullPathOrDefault()
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    Back to top