尝试使用 HtmlAgilityPack
我在尝试安装 HtmlAgilityPack.dll 1.4 版时遇到问题。我已将文件复制到 windows\system32 文件夹中,并尝试运行 regsvr32 htmlagilitypack.dll。
我收到以下错误:
The module was loaded but the entry point DllUnregisterServer was not found.
它似乎是许多人在 SO 上使用的通用库,因此 dll 不会被损坏。我该如何解决这个问题?
Im having problems trying to install the HtmlAgilityPack.dll ver 1.4. I've copied the files into my windows\system32 folder and tried regsvr32 htmlagilitypack.dll in run.
I got the following error:
The module was loaded but the entry point DllUnregisterServer was not found.
It seems to be a common library used by many people on SO so the dll's cant be corrupted. How do I fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法使用
regsvr32
的原因是 HTML Agility 包不是 COM 库。它是用 .NET 编写的,因此您需要从 .NET 项目中引用。c:\SharedLibs\HtmlAgilityPack
。请参阅 CodePlex 站点:
这是我在每个人最喜欢的链接中挖掘的几个链接搜索引擎:
The reason you can't use
regsvr32
is because the HTML Agility pack isn't a COM library. It's written in .NET, so you need to reference from a .NET project.c:\SharedLibs\HtmlAgilityPack
.Refer to the CodePlex site:
Here's a couple of links I dug up in everyone's favourite search engine: