question

GuoLearn-6547 avatar image
0 Votes"
GuoLearn-6547 asked GuoLearn-6547 commented

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

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

windows-wpfdotnet-wpf-xaml
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Castorix31 avatar image
0 Votes"
Castorix31 answered GuoLearn-6547 edited

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)



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.