【转】[C#] WebView2 打不开网页的解决方法收集
1、参考:https://blog.csdn.net/luansxx/article/details/128330604
setx WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS "--disable-gpu-driver-bug-workarounds --ignore-gpu-blocklist"
2、参考:https://zhidao.baidu.com/question/1251860519173437819.html
在注册表路径`计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\WebView2`下,新建一个DWORD(32位)值,命名为`RendererCodeIntegrityEnabled`(启用渲染器代码完整性),并设置其值为0。这样可以允许msedgewebview2.exe加载不符合微软签名级别要求的dll文件,从而解决问题。
浙公网安备 33010602011771号