Html Agility Pack Implementation

▼魔方 西西 提交于 2019-12-24 03:49:11

问题


I am currently working on a C# program in Assembly where I am trying to implement Google Translate in my program. I am aware that I have to use HTMLAgilityPack in my program for it to work. I found this post and downloaded the HTMLAgilityPack, however when he says

1) and build the HTMLAgilityPack solution.
2) In your application, add a reference to HTMLAgilityPack.dll in the HTMLAgilityPack\Debug (or Realease) \bin folder.

I do not know what he wants me to do. So far, I have downloaded and extracted the HTMLAgilityPack folder. In the folder, I have the files:
Net20, Net40, Net40-client, Net45, sl3-wp, sl4, sl4-windowsphone71, sl5, winrt45 If anybody can elaborate on what procedures I need to do, it would be greatly appreciated!


回答1:


Why dont you look at the API? There is a good example here...

http://forum.codecall.net/topic/64790-c-translator-using-google-api/




回答2:


In Visual Studio. There is in Solution Explorer folder named Reference -> right click -> add reference choose from hdd *.dll.

After it you'll be able using methods from this Library.



来源:https://stackoverflow.com/questions/12628449/html-agility-pack-implementation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!