Skip to content
Docs Try Aspire

MauiMacCatalystPlatformResource Constructors

Class Constructors 1 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)
{
// ...
}
}
name string The name of the resource.
parent MauiProjectResource The 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.