Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ExecutableResource.WithWorkingDirectory

Method
📦 Aspire.Hosting v17.0.0
type ExecutableResource interface {
// ... omitted for brevity
WithWorkingDirectory(workingDirectory string) ExecutableResource
}

Signature

methodWithWorkingDirectorybuilder
Sets the working directory for the executable resource.
WithWorkingDirectory(workingDirectory string) ExecutableResource
workingDirectorystringWorking directory.
ExecutableResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: