You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a WPF project using BlazorWebView2, when using saveFileDialog on a Razor page, an exception is thrown after waiting about 30 seconds after the dialog pops up: System.Runtime.InteropServices.SEHException: "External component has thrown an exception." #11126
In a WPF project using BlazorWebView2, when using saveFileDialog on a Razor page, if the dialog is open for about 30 seconds, it throws an exception System.Runtime.InteropServices.SEHException: "External component has thrown an exception." The demo project is located at this address: https://github.com/mmgdh/TestFileDialog.
Reproduction Steps
1.Click Button “Throw Error Wait 30 Seconds” Invoke OpenFileDialog
2.Wait for a while maybe 30 Seconds
3.Throw Error:System.Runtime.InteropServices.SEHException: "External component has thrown an exception."
Expected behavior
OpenFileDialog and SaveFileDialog and other file dialog windows can stay open without crashing.
Actual behavior
Throw Error:System.Runtime.InteropServices.SEHException: "External component has thrown an exception."