Skip to content
DocsTry Aspire
DocsTry

IDistributedApplicationBuilder.addDotnetTool

Method
📦 Aspire.Hosting v13.4.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
namestring
packageIdstring
DotnetToolResource

Defined on

This method is defined on the following type: