Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load WebView2 assembly #32

Open
ludovicasa opened this issue Oct 6, 2021 · 8 comments
Open

Cannot load WebView2 assembly #32

ludovicasa opened this issue Oct 6, 2021 · 8 comments

Comments

@ludovicasa
Copy link

Hello,

I have an issue using the plugin.
It says it cannot load the WebView2 assembly.

image

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

image

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

Any idea?

Thank you.

@Giorgi
Copy link
Owner

Giorgi commented Oct 6, 2021

Do you have WebView2 runtime installed? If yes, which version?

@ludovicasa
Copy link
Author

Installed using the Evergreen Bootstrapper.

image

@ludovicasa
Copy link
Author

ludovicasa commented Oct 7, 2021

It works if I install the library from NuGet but not via the plugins folder.

@Giorgi
Copy link
Owner

Giorgi commented Oct 8, 2021

Can you install the library from NuGet, run this code in LINQPad and paste the output here?

typeof(CoreWebView2Environment).Assembly.FullName

@ludovicasa
Copy link
Author

image

@doggy8088
Copy link

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)

@Giorgi
Copy link
Owner

Giorgi commented Feb 11, 2022

@doggy8088 What did you do that is missing from the Readme?

@ludovicasa
Copy link
Author

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants