Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

withToolVersion

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