问题
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