Hello,
This is an expected behavior.
Since Maui is developed based on the WinUI3 application framework on the Windows platform, you need to package the application into MSIX or publish it as an executable program in an unpackaged form through the Publish operation before you can start it.
Please refer to the following document.
- Publish a packaged .NET MAUI app for Windows with the CLI
- Publish an unpackaged .NET MAUI app for Windows with the CLI
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.