Open vsfeedback opened 11 months ago
This issue is not specific to MAUI or MAUI Blazor. These same repro steps with a new WinUI 1.4 project reproduces this issue.
While this doesn't solve the issue, you can run the built app first and then attach the debugger after.
This issue has been moved from a ticket on Developer Community.
[severity:It’s more difficult to complete my work]
Create a new MAUI Blazor hello world app. (I haven’t investigated whether this behavior occurs with regular MAUI apps as well.)
Set the application to run as administrator. To do this, update Platforms\Windows\app.manifest as follows:
Then, update Package.appxmanifest as follows:
Place a debug breakpoint anywhere, such as in MauiProgram.cs, run the application, and it won’t be hit.
In case any of my instructions are unclear, this process is demonstrated in the following youtube video: https://www.youtube.com/watch?v=XZuKJbUtXR8
This issue was also reported on the project’s GitHub issues page:
https://github.com/dotnet/maui/issues/11730
Original Comments
Feedback Bot on 10/2/2023, 07:22 PM:
(private comment, text removed)
Kevin Xu [MSFT] on 10/9/2023, 10:21 PM:
(private comment, text removed)
Joel Devey on 10/11/2023, 07:45 AM:
(private comment, text removed)
Feedback Bot on 10/11/2023, 07:09 PM:
(private comment, text removed)
Feedback Bot on 10/12/2023, 06:58 AM:
(private comment, text removed)
Original Solutions
(no solutions)