Skip to content
Docs Try Aspire

IDistributedApplicationBuilder.addProject

Method
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addProject(
name: string,
projectPath: string,
launchProfileName: string): ProjectResource;
}

Signature

method addProject builder
Adds a .NET project resource
addProject(
name: string,
projectPath: string,
launchProfileName: string): ProjectResource
name string
projectPath string
launchProfileName string
ProjectResource

Defined on

This method is defined on the following type: