Skip to content
DocsTry Aspire
DocsTry

DotnetToolResource.withToolVersion

Method
📦 Aspire.Hosting v13.4.0
interface DotnetToolResource {
// ... omitted for brevity
withToolVersion(version: string): DotnetToolResource;
}

Signature

methodwithToolVersionbuilder
Sets the package version for a tool to use.
withToolVersion(version: string): DotnetToolResource
versionstring
DotnetToolResource

Defined on

This method is defined on the following type: