title: ASP.NET - "Data at the root level is invalid" error while browsing Nuget Packages in VS 2017
body: <p>I'm trying to create a .NET Web API Application and install EntityFramework using Nuget Package Manager.</p>
  
  <p>But when I'm going to : <strong>Right Click on Project References > Manage Nuget Packages > Browse</strong> I can't find <strong>Microsoft.EntityFrameworkCore</strong> in the list.</p>
  
  <p>Then I'm having this error showing at the bottom, in the output section :</p>
  
  <p><code>[nuget.org] Data at the root level is invalid. Line 1, position 1.</code></p>
  
  <p>I use <strong>VS 2017 15.5.2</strong> and <strong>.Net Framework 4.7.02556</strong>.</p>
  
  <p>I also get this error when using the <strong>dotnet cli</strong> command
  <code>dotnet add package Microsoft.EntityFrameworkCore</code> :</p>
  
  <p><code>error:   The content at 'https://api.nuget.org/v3/index.json/FindPackagesById()?id='Microsoft.EntityFrameworkCore'' is not valid XML.
  error:   Data at the root level is invalid. Line 1, position 1.</code></p>
  
  <p>It looks like that the dotnet cli is trying to load the remote index.json file as a XML file.</p>
  
  <p>For your information, <code>dotnet --version</code> is showing <code>2.1.3</code>.</p>
  
  <p>Any idea?</p>