addDotnetTool
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addDotnetTool( name: string, packageId: string): DotnetToolResource;}Signature
method
addDotnetTool builderAdds a .NET tool resource to the application model.
addDotnetTool( name: string, packageId: string): DotnetToolResourceParameters
namestringThe name of the resource.packageId stringThe package id of the tool.Returns
DotnetToolResource Applies to
This method applies to the following types: