Hello,
Right now, it's not supported run the exe file in bin
folder directly, you may can run the exe with WPF or other projects but not with MAUI/WinUI projects. Please refer to this doc- Debugging on Windows - .NET MAUI | Microsoft Learn to debug your app.
Besides, running exe's in MAIX packages is also not supported. It's only supported publishing to an MSIX and running it that way.
Best Regards,
Wenyan Zhang
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.