DotNetClassicTool.CreateFrom method

Accesses a classic NuGet packaged tool using the specified project.

public static DotNetClassicTool CreateFrom(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.

Exceptions

exception condition
BuildException The tool is not installed.

See Also