Skip to content
Docs Try Aspire

MauiWindowsPlatformResource Constructors

Class Constructors 1 member
Represents a Windows platform instance of a .NET MAUI project.
Constructor(string, MauiProjectResource) Section titled Constructor(string, MauiProjectResource)
Represents a Windows platform instance of a .NET MAUI project.
public class MauiWindowsPlatformResource
{
public MauiWindowsPlatformResource(
string name,
MauiProjectResource parent)
{
// ...
}
}
name string The name of the resource.
parent MauiProjectResource The parent MAUI project resource.
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.