Skip to content
DocsTry Aspire
DocsTry

addMauiProject

Method
📦 Aspire.Hosting.Maui v13.4.0-preview.1.26281.18
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addMauiProject(
name: string,
projectPath: string): MauiProjectResource;
}

Signature

methodaddMauiProjectbuilder
Adds a .NET MAUI project to the application model. This resource can be used to create platform-specific resources.
addMauiProject(
name: string,
projectPath: string): MauiProjectResource
namestring
projectPathstring
MauiProjectResource

Applies to

This method applies to the following types: