LINQPad.QueryPlanVisualizer
LINQPad.QueryPlanVisualizer copied to clipboard
Cannot load WebView2 assembly
Hello,
I have an issue using the plugin. It says it cannot load the WebView2 assembly.

System info: Edition Windows 10 Pro Version 21H1 Installed on 26/08/2021 OS build 19043.1237 Experience Windows Feature Experience Pack 120.2212.3530.0

In LINQPad the option to use Edge's Chromium engine to render results is checked.

Any idea?
Thank you.
Do you have WebView2 runtime installed? If yes, which version?
Installed using the Evergreen Bootstrapper.

It works if I install the library from NuGet but not via the plugins folder.
Can you install the library from NuGet, run this code in LINQPad and paste the output here?
typeof(CoreWebView2Environment).Assembly.FullName

I finally figure it out how to install as a plugin successfully. I just wrote a post in my blog. (Sorry, it's Traditional Chinese only)
@doggy8088 What did you do that is missing from the Readme?
The error is gone if I manually reference the Microsoft.Web.WebView2.Core.dll library in the query (taken from Microsoft.Web.WebView2 NuGet package).