Webview2 Offline Installer — Microsoft Edge

public partial class MainWindow : Window

To solve this, Microsoft provides the (formerly known as the "Offline" version). This is a self-contained version of the WebView2 runtime that you ship inside your application package. microsoft edge webview2 offline installer

# Extract without installing Expand-Archive -Path WebView2RuntimeInstaller.exe -DestinationPath .\WebView2Runtime public partial class MainWindow : Window To solve

You need to tell your application to look for the local runtime rather than the system-wide one. microsoft edge webview2 offline installer