Compiling HTML Agility Pack for Monotouch

2019-08-13 16:18发布

问题:

I have been pointed to this answer regarding using HTML Agility Pack in Monotouch. However the answer is poorly formatted, ambiguous, and some parts have android mentioned.

I am new to Xamarin could someone please step me through the process of compiling a project for use in Monotouch?

回答1:

There are multiple ways to tackle this, but one approach would be

  1. create a new iOS Library Project
  2. add the *.cs files from HtmlAgilityPack
  3. build
  4. resolve any build errors
  5. goto 3