Accesses a .NET local tool at the specified directory.
public static DotNetLocalTool? TryCreateFrom(string directory, string name)
parameter | description |
---|---|
directory | The directory from which the tool should be run. |
name | The package name or command name of the tool. |
Null if the tool is not installed.