1、DllNotFoundException
System.DllNotFoundException: Unable to load DLL ‘mozglue’: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Gecko.Xpcom.Alloc(IntPtr size)
at Gecko.nsAString…ctor() in D:\temp\0104592\Geckofx-Core\nsString.cs:line 883
at Gecko.nsAString…ctor(String value) in D:\temp\0104592\Geckofx-Core\nsString.cs:line 895
at Gecko.Xpcom.Initialize(String binDirectory) in D:\temp\0104592\Geckofx-Core\Xpcom.cs:line 324
。。。(这里是对应调用Gecko的项目文件,可以忽略)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
初始化Xpcom.Initialize(“Firefox”);报错
尝试重装vredist,以上问题解决
下载地址
https://www.microsoft.com/en-us/download/details.aspx?id=48145
2、
错误的程序集:。。。