Skip to content
Docs Try Aspire
Docs Try

addMauiProject

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

Signature

method addMauiProject builder
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
name string
projectPath string
MauiProjectResource

Applies to

This method applies to the following types: