Skip to content
Docs Try Aspire

addDotnetTool

Function
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
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 function is an extension method on the following types: