Watch Aspire live streamsDocsTry Aspire

addDotnetProject

Method
📦 Aspire.Hosting.Dotnet v13.6.0-preview.1.26478.8
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addDotnetProject(
name: string,
path: string,
options?: DotnetProjectOptions): DotnetProjectResource;
}

Signature

methodaddDotnetProjectbuilder
Adds a C# application resource.
addDotnetProject(
name: string,
path: string,
options?: DotnetProjectOptions): DotnetProjectResource
namestring
pathstring
optionsDotnetProjectOptionsoptional
DotnetProjectResource

Applies to

This method applies to the following types: