Open BobbyCannon opened 6 years ago
Turns out if you comment out the method content it still does not load and work. I assume the WebView control cannot completely initialize while running in the debugger.
Even "Start without Debugger" (ctrl+F5) also does not allow the control to initialize.
Are you building a debug version yourself or using the packaged version?
@joshholmes FYI
I'm submitting a...
Bug report (I searched for similar issues and did not find one)
Current behavior
Inside the TryAttachProcessExitedEventHandler method the WebView1?.Process is blocking and never letting the handler to complete. I think it's also the reason why WebView is not rendering while debugging.
Expected behavior
TryAttachProcessExitedEventHandler should complete.
Minimal reproduction of the problem with instructions
Open the Microsoft.Toolkit.Sample.Wpf.WebView project in Visual Studio and debug it using F5
Environment