Skip to content
Docs Try Aspire
Docs Try

MauiProjectResource.addMacCatalystDevice

Method
📦 Aspire.Hosting.Maui v13.4.0-preview.1.26281.18
interface MauiProjectResource {
// ... omitted for brevity
addMacCatalystDevice(name: string): MauiMacCatalystPlatformResource;
}

Signature

method addMacCatalystDevice builder
Adds a Mac Catalyst device resource to run the MAUI application on the macOS platform with a specific name.
addMacCatalystDevice(name: string): MauiMacCatalystPlatformResource
name string
MauiMacCatalystPlatformResource

Defined on

This method is defined on the following type: