|
Rank: Advanced Member Groups: Member
Joined: 12/23/2013 Posts: 114
|
Hi,
I'm using the current version (20.3.63) of EO.WebBrowser in a WinForms project. As soon as I click the right mouse button on a web view, I get the following exception: System.MissingMethodException: Method not found: 'System.Windows.Forms.ContextMenu System.Windows.Forms.Control.get_ContextMenu()'. at EO.WinForm.WebViewHost.atwf() at EO.WinForm.WebViewHost.vrxz(Object b, BeforeContextMenuEventArgs c) at EO.WebBrowser.WebView.ipij(ixfp iy, fssd iz) at EO.WebBrowser.WebView.ipjs(ixfp lp, fssd lq) at EO.WebBrowser.WebView.ipjr(ixfp ln, fssd lo)
I'm also handling the BeforeContextMenu event but the crash seems to occur before the event is raised.
The error is raised in the EO.Base.Runtime.Exception event and then the web view dies (white screen).
Regards, Stefan
|
|
Rank: Advanced Member Groups: Member
Joined: 12/23/2013 Posts: 114
|
I have more info: I migrated my project from net 4.7 to net 5 and the crash happens in the net 5 app. It doesn't happen in the net 4.7 app.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Thanks for the information. We have confirmed this to be an issue with .NET Core 3.1 and .NET 5. This issue will be fixed in our next build.
|
|
Rank: Advanced Member Groups: Member
Joined: 12/23/2013 Posts: 114
|
Awesome, thank you!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
This is just to let you know that we have posted a new build that should resolve this issue. You can download the new build from our download page.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/23/2013 Posts: 114
|
Thanks for the quick fix. I just tried the new build and it's working again.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Great. Thanks for confirming!
|
|