Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

withToolPackage

Method
📦 Aspire.Hosting v13.5.4
interface DotnetToolResource {
// ... omitted for brevity
withToolPackage(packageId: string): DotnetToolResource;
}

Signature

methodwithToolPackagebuilder
Sets the package identifier for the tool configuration associated with the resource builder.
withToolPackage(packageId: string): DotnetToolResource
packageIdstring
DotnetToolResource

Applies to

This method applies to the following types: