How do I get an external LIbrary like html dexterity to work in my C # project?

How do I use a free library like Html Agility in my Visual Studio Express C # programs? Obviously I downloaded it. I need to know how to set it up so that I can just use the using statement to communicate with the classes. Html Agility doesn't come with any DLL, so I need to compile it to a dll and then link to that DLL?

If so, how do you compile the dll in Visual Studio Express?

0


source to share


2 answers


Since you have no boot files, it means you have the source code. So, you should know what type of code it is. Is this .NET code? (if so, it should have a .csproj or .vbproj etc file). Again, it depends on which development environment it was built with. If it's a Visusl Studio Express project, you can create a project in Visual Studio Express edition, otherwise I'm afraid you won't be able to do it.



The best thing is that you should download binaries (dlls, etc.) and use them in your project by adding the link as you mentioned. Otherwise, you are left with two options. Either create code and make binary, or use the code directly, but for that you need to have a complete understanding of the code.

+1


source


I think this msdn link might work:



Basically, build a dll using "Build" and then link to link.

0


source







All Articles