我在 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/