Skip to content
Docs Try Aspire

addProjectWithOptions

Function
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
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) => void): ProjectResource
name string
projectPath string
configure (obj: ProjectResourceOptions) => void
ProjectResource

Applies to

This function is an extension method on the following types: