Skip to content
Docs Try Aspire
Docs Try

DotnetToolResource.withToolVersion

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

Signature

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

Defined on

This method is defined on the following type: