Skip to content
Docs Try Aspire

IDistributedApplicationBuilder.addProjectWithOptions

Method
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addProjectWithOptions(name: string, projectPath: string, configure: (obj: ProjectResourceOptions) => void): ProjectResource;
}

Signature

method addProjectWithOptions builder
Adds a project resource with configuration options
addProjectWithOptions(name: string, projectPath: string, configure: (obj: ProjectResourceOptions) => void): ProjectResource
name string
projectPath string
configure (obj: ProjectResourceOptions) => void
ProjectResource

Defined on

This method is defined on the following type: