Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

addDotnetTool

Method
📦 Aspire.Hosting v13.5.4
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

Applies to

This method applies to the following types: