Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

addProject

Method
📦 Aspire.Hosting v13.5.3
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

Applies to

This method applies to the following types: