MauiProjectResource.AddWindowsDevice

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

Signature

methodAddWindowsDevicebuilder
Adds a Windows device resource to run the MAUI application on the Windows platform with a specific name.
AddWindowsDevice(name string) MauiWindowsPlatformResource
namestringThe name of the Windows device resource.
MauiWindowsPlatformResource

The resource builder.

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

Defined on

This method is defined on the following type: