Skip to content
DocsTry Aspire
DocsTry

withToolSource

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

Signature

methodwithToolSourcebuilder
Adds a NuGet package source for tool acquisition.
withToolSource(source: string): DotnetToolResource
sourcestring
DotnetToolResource

Applies to

This method applies to the following types: