Reputation: 30101
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?
Upvotes: 1
Views: 1880
Reputation: 119806
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:
A simple web crawler in C# using HtmlAgilityPack
.NET Html Agility Pack: How to use malformed HTML just like it was well-formed XML...
Upvotes: 3