visual-studio-2019previewwinui-3maui.net-6.0

"The project doesn't know how to run the profile MauiApp.WinUI"


I am trying to get started with a brand new .NET Maui application. Upon creating the project, it has a single project for the MauiApp, and another project named MauiApp.WinUI. When I try to run the the app on my Windows 10 device, I get the error: "The project doesn't know hot to run the profile MauiApp.WinUI". I am not sure what to do in order to fix this. Any suggestions?


Solution

  • In my case installing Single-project MSIX Packaging Tools solved the problem.

    Just in case, I already had Project Reunion (Preview) installed.