DotNetClassicTool.TryCreateFrom method

Accesses a classic NuGet packaged tool using the specified project.

public static DotNetClassicTool? TryCreateFrom(string projectPath, string packageName, 
    string? toolName = null)
parameter description
projectPath The C# project file path containing the NuGet package version.
packageName The name of the NuGet package.
toolName The name of the tool executable, as found in the tools folder of the NuGet package. Defaults to the package name.

Return Value

Null if the tool is not installed.

See Also