Skip to content
Docs Try Aspire

withToolPackage

Function
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface DotnetToolResource {
// ... omitted for brevity
withToolPackage(packageId: string): DotnetToolResource;
}

Signature

method withToolPackage builder
Sets the tool package ID
withToolPackage(packageId: string): DotnetToolResource
packageId string
DotnetToolResource

Applies to

This function is an extension method on the following types: