Skip to content
DocsTry Aspire
DocsTry

addDotnetProject

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

Signature

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

Applies to

This method applies to the following types: