[wxMSW] Edge webview backend fails to load Topic is solved

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
brookmiles
In need of some credit
In need of some credit
Posts: 2
Joined: Tue Aug 18, 2020 6:23 am

[wxMSW] Edge webview backend fails to load

Post by brookmiles »

Windows 10 (10.0.18363.1016)
Edge Version 84.0.522.61 (Official build) (64-bit)
MSVC++ 2019 (16.7.1)
wxWidgets-3.1.4

I'm attempting to try out the Edge webview backend using the webview sample, after following the instructions on https://docs.wxwidgets.org/trunk/classwx_web_view.html to enable the Edge backend.

However the Edge backend fails to load:
D:\Code\external\wxWidgets-3.1.4\src\msw\webview_edge.cpp(133): 'GetCoreWebView2BrowserVersionInfo' failed with error 0x80070002 (The system cannot find the file specified.).
15:29:24: Edge backend not available
WebView2Loader.dll is present and appears to have loaded, as it's what's returning the error above.
PB
Part Of The Furniture
Part Of The Furniture
Posts: 4204
Joined: Sun Jan 03, 2010 5:45 pm

Re: [wxMSW] Edge webview backend fails to load

Post by PB »

I have not really used it but I learned that the nuget package is not compatible with all Edge versions.

For example, the current package (0.9.579) requires Edge at least 86.0.579.0, see https://docs.microsoft.com/en-us/micros ... leasenotes
User avatar
doublemax@work
Super wx Problem Solver
Super wx Problem Solver
Posts: 474
Joined: Wed Jul 29, 2020 6:06 pm
Location: NRW, Germany

Re: [wxMSW] Edge webview backend fails to load

Post by doublemax@work »

AFAIK having a "normal" Chromium-based Edge browser installed is not enough, you need to install the webview2 runtime:
https://docs.microsoft.com/en-us/micros ... er-preview
brookmiles
In need of some credit
In need of some credit
Posts: 2
Joined: Tue Aug 18, 2020 6:23 am

Re: [wxMSW] Edge webview backend fails to load

Post by brookmiles »

doublemax@work wrote: Tue Aug 18, 2020 10:22 am AFAIK having a "normal" Chromium-based Edge browser installed is not enough, you need to install the webview2 runtime:
https://docs.microsoft.com/en-us/micros ... er-preview
Yep, that did the trick, thanks!
Post Reply