Skip to content
Docs Try Aspire

DotnetToolResource.withToolPackage

Method
📦 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

Defined on

This method is defined on the following type: