Watch Aspire live streamsDocsTry Aspire

withToolSource

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

Signature

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

Applies to

This method applies to the following types: