Skip to content
Docs Try Aspire

withToolVersion

Function
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface DotnetToolResource {
// ... omitted for brevity
withToolVersion(version: string): DotnetToolResource;
}

Signature

method withToolVersion builder
Sets the tool version
withToolVersion(version: string): DotnetToolResource
version string
DotnetToolResource

Applies to

This function is an extension method on the following types: