Watch Aspire live streamsDocsTry Aspire

MauiWindowsPlatformResource

Classnet10.0
📦 Aspire.Hosting.Maui v13.6.0-preview.1.26478.8
Represents a Windows platform instance of a .NET MAUI project.
namespace Aspire.Hosting.Maui;
public class MauiWindowsPlatformResource
: Aspire.Hosting.ApplicationModel.ProjectResource,
Aspire.Hosting.ApplicationModel.IResource,
Aspire.Hosting.ApplicationModel.IResourceWithParent,
Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.Maui.MauiProjectResource>,
Aspire.Hosting.Maui.IMauiPlatformResource
{
// ...
}
ProjectResourceIResourceIResourceWithParentIResourceWithParent<MauiProjectResource>IMauiPlatformResource
This resource represents a MAUI application running on the Windows platform. The actual build and deployment happens when the resource is started, allowing for incremental builds during development without blocking AppHost startup.

Use MauiWindowsExtensions.AddWindowsDevice to add this resource to a MAUI project.

View all constructors
View all properties