Watch Aspire live streamsDocsTry Aspire

MauiProjectResource.addWindowsDevice

Method
📦 Aspire.Hosting.Maui v13.6.0-preview.1.26478.8
interface MauiProjectResource {
// ... 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
namestring
MauiWindowsPlatformResource

Defined on

This method is defined on the following type: