MauiWindowsPlatformResource Constructors
ClassConstructors1 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) { // ... }}Parameters
namestringThe name of the resource.parentMauiProjectResourceThe parent MAUI project resource.Remarks
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.