Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddMacCatalystDevice

Method
📦 Aspire.Hosting.Maui v17.0.0-preview.1.26565.2
func (MauiProjectResource) 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().

Applies to

This method applies to the following types: