Geckofx-Core - System.DllNotFoundException

时间:2017-09-01 09:56:02

标签: 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

任何人都可以帮我解决这个问题吗?

2 个答案:

答案 0 :(得分:2)

尝试为Visual Studio 2015安装Visual C ++ Redistributable。

答案 1 :(得分:1)

可以找到解决方案https://bitbucket.org/geckofx/geckofx-45.0/issues/194/unable-to-load-dll-mozglue

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