IDistributedApplicationBuilder.addDotnetTool

Method
📦 Aspire.Hosting v17.0.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addDotnetTool(
name: string,
packageId: string): DotnetToolResource;
}

Signature

methodaddDotnetToolbuilder
Adds a .NET tool resource to the application model.
addDotnetTool(
name: string,
packageId: string): DotnetToolResource
namestringThe name of the resource.
packageIdstringThe package id of the tool.
DotnetToolResource

Defined on

This method is defined on the following type: