Skip to content
Docs Try Aspire
Docs Try

addExecutable

Method
📦 Aspire.Hosting v13.2.0
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

Applies to

This method applies to the following types: