C#中用WebView2 开发一个浏览器插件,运行一会儿后出现如下错误:
CoreWebView2 members cannot be accessed after the WebView2 control is disposed。
经过多次尝试发现可能产生的原因是因为Edge开发版对WebViews2的支持导致。在官网下载MicrosoftEdgeWebView2RuntimeInstallerX64后故障排除。
C#中用WebView2 开发一个浏览器插件,运行一会儿后出现如下错误:
CoreWebView2 members cannot be accessed after the WebView2 control is disposed。
经过多次尝试发现可能产生的原因是因为Edge开发版对WebViews2的支持导致。在官网下载MicrosoftEdgeWebView2RuntimeInstallerX64后故障排除。