c# - Geckofx-Core - System.DllNotFoundException

标签 c# winforms exe xulrunner geckofx

我在 Windows 窗体应用程序中集成了 Geckofx45.64 - 在某些 Windows10 发行版上,我在启动后立即收到以下错误:

System.DllNotFoundException
at Gecko.Xpcom.Alloc(IntPtr)
at Gecko.nsAString..ctor()
at Gecko.nsAString..ctor(System.String)
at Gecko.Xpcom.Initialize(System.String)
at Vault_Forms_App.Program.Main

谁能帮我解决这个问题吗?

最佳答案

解决办法可参见https://bitbucket.org/geckofx/geckofx-45.0/issues/194/unable-to-load-dll-mozglue

使用最新版本的 geckofx-45,由于某种原因,Firefox 文件夹中缺少文件 msvcp120.dll 和 msvcr120.dll。您可以从旧版本复制它们,也可以安装 Visual C++ Redistributable for Visual Studio 2013

关于c# - Geckofx-Core - System.DllNotFoundException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45997649/

相关文章:

c# - 扩展 LINQ 以接受可为空的枚举

c# - 为什么 HasRequired 不起作用?

c# - 2个C#进程之间进行进程间通信最简单的方法是什么?

c# - Winforms - 以线程安全方式更新属性的最简单方法是什么

c - 由 C 语言构建的 .exe 是否容易受到逆向工程的影响?

c# - 对 ViewState/IPostback 与持久文本框值感到困惑

c# - Crystal Reports 版本 13.0 中报告失败错误?

c# - 无法在 Visual Studio 2008 中创建 list 资源名称错误

sql-server - 从 exe 到 SQL 的安全连接

exe - 为您的 .exe 捆绑病毒防护