title: Error "Frame not in module." in Xamarin.Forms - Android project
body: <p>Whenever it comes to this line, this error appears:</p>
  
  <pre><code>using (var client = new HttpClient())
  {
      var json = await client.GetStringAsync("http://mvalivros.azurewebsites.net/api/livros");
      var livros = JsonConvert.DeserializeObject&lt;List&lt;Model.Livro&gt;&gt;(json);
      return livros;
  }
  </code></pre>
  
  <p>A new tab appears in VS that says "Frame not in module."</p>
  
  <p>It happens whenever the thread arrives at the <code>using</code> line.</p>
  
  <p><a href="http://i.stack.imgur.com/GOvba.png" rel="nofollow">Frame not in module</a></p>
  
  <p>This is code complete... </p>
  
  <pre><code>using Newtonsoft.Json;
  using System;
  using System.Collections;
  using System.Collections.Generic;
  using System.Linq;
  using System.Net.Http;
  using System.Text;
  using System.Threading.Tasks;
  
  namespace LivrosApp.ApiLivros
  {
      public static class Api
      {
          public static async Task&lt;IList&lt;Model.Livro&gt;&gt; GetAsync()
          {
              using (var client = new HttpClient())
              {
                  var json = await client.GetStringAsync("http://mvalivros.azurewebsites.net/api/livros");
                  var livros = JsonConvert.DeserializeObject&lt;List&lt;Model.Livro&gt;&gt;(json);
                  return livros;
              }
          }
      }
  }
  </code></pre>