Skip to content
DocsTry Aspire
DocsTry

MauiProjectResource.addMacCatalystDevice

Method
📦 Aspire.Hosting.Maui v13.5.1-preview.1.26420.4
interface MauiProjectResource {
// ... 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
namestring
MauiMacCatalystPlatformResource

Defined on

This method is defined on the following type: