我有一个部署在客户端计算机上的C#WPF项目。以前,我们成功使用了cefsharp v33,现在我们正在升级到v47。我们遇到一个问题:ChromiumWebBrowser
加载并显示内容但格式化已关闭。通常在未装入包时观察到这种情况。
在debug.log中,我收到以下错误:
[0223/175353:WARNING:resource_bundle.cc(305)] locale_file_path.empty() for locale
[0223/175353:ERROR:extension_system.cc(71)] Failed to parse extension manifest.
[0223/175353:WARNING:resource_bundle.cc(305)] locale_file_path.empty() for locale
[0223/175354:WARNING:resource_bundle.cc(305)] locale_file_path.empty() for locale
[0223/175354:ERROR:content_client.cc(341)] No data resource available for id 30373
[0223/175354:ERROR:content_client.cc(341)] No data resource available for id 30380
[0223/175354:ERROR:content_client.cc(341)] No data resource available for id 30379
[0223/175354:ERROR:content_client.cc(341)] No data resource available for id 30381
[0223/175354:ERROR:content_client.cc(341)] No data resource available for id 30370
[0223/175354:ERROR:content_client.cc(341)] No data resource available for id 30382
[0223/175354:ERROR:content_client.cc(341)] No data resource available for id 30371
CefSharp.DependencyChecker.AssertAllDependenciesPresent()
打印以下内容:
Unable to locate required Cef/CefSharp dependencies:
Missing:CefSharp.BrowserSubprocess.exe
Missing:CefSharp.BrowserSubprocess.Core.dll
Missing:CefSharp.Core.dll
Missing:CefSharp.dll
Missing:icudtl.dat
Missing:libcef.dll
Executing Assembly Path:C:\myapp
问题是所有文件都存在于C:\ myapp目录中(如指定的here)。因此,我不确定为什么这些文件没有被加载。
感谢任何帮助。感谢。
更多信息: