Skip to content

Edge WebView

Tua Rua edited this page May 24, 2020 · 16 revisions

Available from Version 1.7.0

The Windows Edge WebView utilises the Modern WebView WPF version. Please see Microsoft's known issues before opening an issue on the WebViewANE repo.

The main benefits are:

  • support for AAC and H.264 codec
  • smaller dependency footprint (single dll of ~150KB)

WebView2

Microsoft are in the process of replacing WebView with WebView2 (currently in preview).

WebView2 will not, repeat not, use the user's Edge Chromium browser.

It will come in 2 flavours:

  • Evergreen - Will use new WebView2 Runtime & Installer (due Q4 2020). It will be your responsibility to ensure your installer checks for and installs this separate runtime.
  • Fixed - This will require packaging the CEF binaries with your app, in the same way CefSharp does.

More details are available on the Microsoft website.

Prerequisites

You will need

The ANE + Dependencies

From the command line cd into /example-desktop-complete and run in PowerShell:

get_dependencies.ps1

C# library files Important!

Packaging for release

It is highly recommended you package your app for release using an installer.

Please see the win_installer folder for an example Inno Setup project which handles .NET 4.6.2 and MSV2015 dependencies.

Clone this wiki locally