title: System.NullReferenceException: Object reference not set to an instance of an object in System.Web.HttpUtility.HtmlDecode
body: <p>In Xamarin.Mac i get the next exception:</p>
  
  <pre><code>Unhandled Exception:
      System.NullReferenceException: Object reference not set to an instance of an object
        at System.Web.Util.HttpEncoder.GetCustomEncoderFromConfig () [0x00000] in &lt;filename unknown&gt;:0 
        at System.Lazy`1[System.Web.Util.HttpEncoder].InitValue () [0x00000] in &lt;filename unknown&gt;:0 
      [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
        at System.Web.Util.HttpEncoder.GetCustomEncoderFromConfig () [0x00000] in &lt;filename unknown&gt;:0 
        at System.Lazy`1[System.Web.Util.HttpEncoder].InitValue () [0x00000] in &lt;filename unknown&gt;:0 
  </code></pre>
  
  <p>When i try to use the static method: <code>System.Web.HttpUtility.HtmlDecode(string);</code>, and only if the Mono Runtime is included in the bundle, when is not included, works perfect. Any idea of what is happening?</p>