Skip to content
DocsTry Aspire
DocsTry

IDistributedApplicationBuilder.addProject

Method
📦 Aspire.Hosting v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addProject(
name: string,
projectPath: string,
launchProfileOrOptions?: ProjectResourceOptions): ProjectResource;
}

Signature

methodaddProjectbuilder
Adds a .NET project resource
addProject(
name: string,
projectPath: string,
launchProfileOrOptions?: ProjectResourceOptions): ProjectResource
namestring
projectPathstring
launchProfileOrOptionsProjectResourceOptionsoptional
ProjectResource

Defined on

This method is defined on the following type: