Deploy and debug your .NET MAUI app on Windows
You can use your local Windows development computer to deploy and debug a .NET Multi-platform App UI (.NET MAUI) app. This article describes how to configure Windows to debug a .NET MAUI app.
Configure Windows
You must enable Developer Mode in Windows. Both Windows 10 and Windows 11 are supported.
Windows 11
Developer Mode is enabled in Settings app, under Privacy & security > For developers. To enable Developer Mode in Windows 11:
- Open the Start Menu.
- Type Developer settings in the search box and select it.
- Turn on Developer Mode.
- If you receive a warning message about Developer Mode, read it, and select Yes if you understand the warning.
Windows 10
Developer Mode is enabled in Settings app, under Update & Security > For developers. To enable Developer Mode in Windows 10:
- Open the Start Menu.
- Search for Developer settings, select it.
- Turn on Developer Mode.
- If you receive a warning message about Developer Mode, read it, and select Yes if you understand the warning.
Target Windows
In Visual Studio, set the Debug Target to Framework (...) > net7.0-windows. There is a version number in the item entry, which may or may not match the following screenshot:
Feedback
Submit and view feedback for