Skip to content
DocsTry Aspire
DocsTry

DotnetToolResource.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

Defined on

This method is defined on the following type: