Could we used webView2 with local files, so that we don't need install MicrosoftEdgeWebview2Setup.exe?

GuoLearn 251 Reputation points
2021-10-26T10:46:01.43+00:00

Sometims we had installed Microsoft Edge , Could we use WebView2 without installed WebView2 Runtime?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,671 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
764 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 81,721 Reputation points
    2021-10-26T12:45:07.107+00:00

    You can check is the Runtime is installed, as explained in MSDN doc at : Online-only deployment
    (or with a similar function as IsWebViewVersionInstalled function from Taking the new Chromium WebView2 Control for a Spin in .NET - Part 1
    to compare WebView2 library assembly version vs installed CoreWebView2 runtime)


0 additional answers

Sort by: Most helpful