title: How to use 'dotnet restore' with a feed that need to authenticate with?
body: <p>My project uses a custom feed that I need to authenticate to before using it.
  <a href="https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-restore" rel="noreferrer">https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-restore</a> tells me that <code>--interactive</code> flag should be used. However, that doesn't change anything. I'm getting errors:</p>
  
  <blockquote>
    <p>/usr/share/dotnet/sdk/3.1.201/NuGet.targets(124,5): error : Unable to load the service index for source <a href="https://myproject.pkgs.visualstudio.com/_packaging/MyFeed/nuget/v3/inde" rel="noreferrer">https://myproject.pkgs.visualstudio.com/_packaging/MyFeed/nuget/v3/inde</a>
    x.json. [/home/xyx/code/MyApp.csproj]
    /usr/share/dotnet/sdk/3.1.201/NuGet.targets(124,5): error :   Response status code does not indicate success: 401 (Unauthorized). [/home/xyx/code/MyApp.csproj]</p>
  </blockquote>
  
  <p>How to I authorize to my feed?</p>