addMauiProject

Method
📦 Aspire.Hosting.Maui v17.0.0-preview.1.26567.5
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
namestringThe name of the resource.
projectPathstringThe path to the .NET MAUI project file (.csproj). This can be a relative or absolute path.
MauiProjectResource

Applies to

This method applies to the following types: