windows-8 - 在 Windows 8.0 SP1 上使用来自 CefSharp.Wpf 的 ChromiumWebBrowser 运行 WPF 应用程序时出错
问题描述
我需要在带有 .net 4.6.2 的 Win 8.0 上使用 WPF 应用程序我想在其上使用 ChromiumWebBrowser。不幸的是,当我使用该 ChromiumWebBrowser 组件启动窗口时,应用程序关闭并在事件日志中显示错误。
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
at CefSharp.CefSettingsBase..ctor()
at CefSharp.Wpf.Example.App.OnStartup(System.Windows.StartupEventArgs)
at System.Windows.Application.<.ctor>b__1_0(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at System.Windows.Application.Run(System.Windows.Window)
at CefSharp.Wpf.Example.Program.Main(System.String[])
....
是否可以在 Windows 8.0 SP1 上使用 CefSharp.Wpf 运行应用程序?
谢谢您的帮助
解决方案
推荐阅读
- amazon-iam - 无法列出或查看 AWS Cloudwatch 控制面板
- ios - SwiftUI 关闭 List NavigationLink 项目点击上的键盘
- javascript - React Native - SVG字符串到PNG
- c++ - cmake 找不到“glfw3”提供的包配置文件
- python - 如何检测 div 的值何时用 selenium 更新
- mozilla-deepspeech - (0) 无效参数:目标转换序列没有足够的时间(必需:28,可用:24)在 Mozilla Deepspeech 训练期间
- javascript - 有没有办法在 JavaScript 中设计/设计程序按钮?
- date - 如何确定 bash 中特定日期文件夹的磁盘使用情况?
- pytorch - 当我让 pytorch 关注时,你能给我一个解决损失的想法吗
- tensorflow - 循环神经网络 (RNN) 代码中的错误