Skip to content
Docs Try Aspire

IDistributedApplicationBuilder.addExecutable

Method
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addExecutable(
name: string,
command: string,
workingDirectory: string,
args: string[]): ExecutableResource;
}

Signature

method addExecutable builder
Adds an executable resource
addExecutable(
name: string,
command: string,
workingDirectory: string,
args: string[]): ExecutableResource
name string
command string
workingDirectory string
args string[]
ExecutableResource

Defined on

This method is defined on the following type: