withToolVersion
Method
interface DotnetToolResource { // ... omitted for brevity withToolVersion(version: string): DotnetToolResource;}Signature
method
withToolVersion builderSets the package version for a tool to use.
withToolVersion(version: string): DotnetToolResourceParameters
versionstringThe package version to useReturns
DotnetToolResource Applies to
This method applies to the following types: