title: Unauthorized nuget package from Visual Studio Team Services using asp.net core rc2
body: <p>I am unable to install/restore nuget packages from a Visual Studio Team Services feed in an asp.net core web application (RC2). I receive the following:</p>
  
  <blockquote>
    <p>error:   Response status code does not indicate success: 401
    (Unauthorized).</p>
  </blockquote>
  
  <p>I am running Visual Studio Community 2015 Update 2 and nuget version 3.4.4. I am able to install/restore packages from this feed in other project types.</p>
  
  <p>Do I need to do something else to pass my credentials for an asp.net core web app?</p>
  
  <p><strong>Steps to reproduce:</strong></p>
  
  <p>From Team Services package tab I select "Connect to Feed" and copy the NuGet package source URL</p>
  
  <p>In visual studio -> Tools -> NuGet Package Manager -> Package Manager settings -> Package sources and add the feed url from vso</p>
  
  <p>Then from my ASP.NET Core Web Application (.NET Framework) project right click references -> Manage NuGet Packages
  -> Select my feed from Package source (packages are listed) -> Click to install </p>
  
  <p>In output:</p>
  
  <pre><code>Installing NuGet package xxxxx 
  Successfully installed xxxxx to WebApplication1
  ========== Finished ==========
  </code></pre>
  
  <p>Then it will try to restore the package at which point I get:</p>
  
  <pre><code>error: Response status code does not indicate success: 401 (Unauthorized).
  error: Failed to retrieve information from remote source
  </code></pre>
  
  <p>And inside web project references - package has warning icon - NU1001 The dependency xxxxx could not be resolved</p>