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

Unable to cast to Microsoft.Web.WebView2.Core.Raw.ICoreWebView2_2. #85

Open
ecisv opened this issue Aug 8, 2024 · 0 comments
Open

Unable to cast to Microsoft.Web.WebView2.Core.Raw.ICoreWebView2_2. #85

ecisv opened this issue Aug 8, 2024 · 0 comments

Comments

@ecisv
Copy link

ecisv commented Aug 8, 2024

Hi.
I'm creating a Windows Forms .NET 7.0 project.
When I use view.CoreWebView2.CookieManager When, the following error is reported

System.NotImplementedException:“Unable to cast to Microsoft.Web.WebView2.Core.Raw.ICoreWebView2_2.
This may happen if you are using an interface not supported by the version of the WebView2 Runtime you are using.
For instance, if you are using an experimental interface from an older SDK that has been modified or removed in a newer runtime.
Or, if you are using a public interface from a newer SDK that wasn't implemented in an older runtime.
For more information about WebView2 versioning please visit the following: https://learn.microsoft.com/microsoft-edge/webview2/concepts/versioning”

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

1 participant