Skip to content
Docs Try Aspire

withWorkingDirectory

Function
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface DotnetToolResource {
// ... omitted for brevity
withWorkingDirectory(workingDirectory: string): ExecutableResource;
}

Signature

method withWorkingDirectory builder
Sets the executable working directory
withWorkingDirectory(workingDirectory: string): ExecutableResource
workingDirectory string
ExecutableResource

Applies to

This function is an extension method on the following types: