Skip to content
DocsTry Aspire
DocsTry

DotnetToolResource.withToolPackage

Method
📦 Aspire.Hosting v13.4.0
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

Defined on

This method is defined on the following type: