title: Unable to access private VSTS package feed from build using dotnet restore
body: <p>I have a build in Visual Studio Team Services (VSTS) that needs to restore NuGet packages from a private package feed hosted in VSTS. The build fails with an Unauthorized message (401) when it tries to access the private feed.</p>
  
  <p>After some reading I found out I should use the <a href="https://www.visualstudio.com/en-us/docs/package/nuget/nuget-exe" rel="nofollow noreferrer">Microsoft VSTS Credential Provider for NuGet</a> to access the private feed. Normally I wouldn't object to add a tool to each repository, but the thing that bothers me is that this executable is a whopping 14MB and I need to include it in a lot of repositories.</p>
  
  <p>My attempt to resolve this was by adding a 'Download Package'-task for the Credential Provider Package, but that only works for VSTS feeds and not for NuGet feeds.</p>
  
  <p>Now I wonder if I'm doing things correctly here, because this shouldn't be that difficult. Shouldn't the Credential Provider be installed on the buildserver by default or at least be made available as a Task?</p>