MauiProjectResource
Class net10.0
Represents a .NET MAUI project resource in the distributed application model.
namespace Aspire.Hosting.Maui;
public class MauiProjectResource : Aspire.Hosting.ApplicationModel.Resource{ // ...} Resource
Remarks
Section titled Remarks This resource serves as a parent for platform-specific MAUI resources (Windows, Android, iOS, macOS). Use extension methods like
AddWindowsDevice or AddMacCatalystDevice to add platform-specific instances. MAUI projects are built on-demand when the platform-specific resource is started, avoiding long AppHost startup times while still allowing incremental builds during development.