Skip to content
Docs Try Aspire
Docs Try

withToolPackage

Method
📦 Aspire.Hosting v13.2.0
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 method applies to the following types: