Skip to content
Docs Try Aspire
Docs Try

addProjectWithOptions

Method
📦 Aspire.Hosting v13.2.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addProjectWithOptions(
name: string,
projectPath: string,
configure: callback): ProjectResource;
}

Signature

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

Applies to

This method applies to the following types: