Skip to content
DocsTry Aspire
DocsTry

MauiMacCatalystPlatformResource Constructors

ClassConstructors1 member
Represents a Mac Catalyst platform instance of a .NET MAUI project.
Constructor(string, MauiProjectResource)Section titled Constructor(string, MauiProjectResource)
Represents a Mac Catalyst platform instance of a .NET MAUI project.
public class MauiMacCatalystPlatformResource
{
public MauiMacCatalystPlatformResource(
string name,
MauiProjectResource parent)
{
// ...
}
}
namestringThe name of the resource.
parentMauiProjectResourceThe parent MAUI project resource.
This resource represents a MAUI application running on the Mac Catalyst platform. The actual build and deployment happens when the resource is started, allowing for incremental builds during development without blocking AppHost startup.

Use MauiMacCatalystExtensions.AddMacCatalystDevice to add this resource to a MAUI project.