Skip to content
Docs Try Aspire

addProject

Function
📦 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

Applies to

This function is an extension method on the following types: