Skip to content
DocsTry Aspire
DocsTry

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

Applies to

This method applies to the following types: