-
Notifications
You must be signed in to change notification settings - Fork 54
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
AddBrowserExtensionAsync Error #4977
Comments
Hey @bearsInformation, ensure that the WebView2 runtime and SDK versions are compatible. |
https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/?tabs=dotnetcsharp
131.0.2903.70 > 131.0.2903.40 |
Runtime Version131.0.2903.70 SDK Version1.0.2903.39 NG |
Hi @bearsInformation, we tried to repro using the given code by you. Could you check if you are using the updated Windows SDK? |
About SDKs Visual Studio 2022 Project folder https://www.nuget.org/packages/Microsoft.Web.WebView2/1.0.2903.40 About Runtime「Microsoft Edge WebView2 Runtime」 install the latest version using 「Microsoft Edge」 Microsoft Edge Registry Runtime folder Due to an increase in the version of Microsoft Edge from the previous |
Sorry, there was a mistake in my code.
await WebView2.EnsureCoreWebView2Async(null); // NG The cause was accessing it when the Environment had not yet been initialized (initial settings of the environment folder). |
What happened?
An error occurs when using AddBrowserExtensionAsync.
error
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
131.0.2903.70
SDK Version
1.0.2903.40
Framework
Winforms
Operating System
Windows 11
OS Version
23H2
Repro steps
code
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered: