Watch Aspire live streamsDocsTry Aspire

IDistributedApplicationBuilder.addProject

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

Signature

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

Defined on

This method is defined on the following type: