MauiProjectResource.AddMacCatalystDevice

Method
📦 Aspire.Hosting.Maui v17.0.0-preview.1.26567.5
type MauiProjectResource interface {
// ... omitted for brevity
AddMacCatalystDevice(name string) MauiMacCatalystPlatformResource
}

Signature

methodAddMacCatalystDevicebuilder
Adds a Mac Catalyst device resource to run the MAUI application on the macOS platform with a specific name.
AddMacCatalystDevice(name string) MauiMacCatalystPlatformResource
namestringThe name of the Mac Catalyst device resource.
MauiMacCatalystPlatformResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: