title: Error CS0246: The type or namespace name `HtmlAgilityPack' could not be found
body: <p>I am currently working on a Natural Language processing program in which I am accessing Google Translate for my dictionary in order to translate the users input.</p>
  
  <pre><code>using UnityEngine;
  using System.Collections;
  using System.Text;
  using System.Net;
  public class GoogleTranslate : MonoBehaviour {
      public static string Translate(string input, string languagePair, Encoding encoding)
      {
          string url = String.Format("http://www.google.com/translate_t?hl=en&amp;ie=UTF8&amp;text=       {0}&amp;langpair={1}", input, languagePair);
          string result = String.Empty;
  
          using (WebClient webClient = new WebClient())
          {
              webClient.E ncoding = encoding;
              result = webClient.DownloadString(url);
          }
  
          HtmlDocument doc = new HtmlDocument();
          doc.LoadHtml(result);
          return doc.DocumentNode.SelectSingleNode("//textarea[@name='utrans']").InnerText;
      }
  }
  </code></pre>
  
  <p>When I compile this program in Assembly, I am actually using Unity but it compiles with Assembly, I get the return error:</p>
  
  <pre><code>Assets/GoogleTranslate.cs(17,13): error CS0246: The type or namespace name `HtmlDocument' could not be found. Are you missing a using directive or an assembly reference?
  </code></pre>
  
  <p>I began to look up online the proper namespace for HtmlDocument, and read that I should write:</p>
  
  <pre><code>using HtmlAgilityPack;
  </code></pre>
  
  <p>After putting this into my program, I then received the error:</p>
  
  <pre><code>Assets/GoogleTranslate.cs(5,7): error CS0246: The type or namespace name `HtmlAgilityPack' could not be found. Are you missing a using directive or an assembly reference?
  </code></pre>
  
  <p>I read online that I had to be more specific and use:</p>
  
  <pre><code>using HtmlAgilityPack.HtmlDocument;
  </code></pre>
  
  <p>Now that I put that in, I still continue to receive the error:</p>
  
  <pre><code>Assets/GoogleTranslate.cs(5,7): error CS0246: The type or namespace name `HtmlAgilityPack' could not be found. Are you missing a using directive or an assembly reference?
  </code></pre>
  
  <p>I would like to know what namespace to use for HtmlDocument. Any help on this matter would be greatly appreciated!</p>