Skip to content
Docs Try Aspire
Docs Try

addDotnetTool

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

Signature

method addDotnetTool builder
Adds a .NET tool resource
addDotnetTool(
name: string,
packageId: string): DotnetToolResource
name string
packageId string
DotnetToolResource

Applies to

This method applies to the following types: