title: Restoring dependencies in Visual Studio Code is using the wrong source/feed
body: <p>I'm not sure how to set the default nuget feed for my .net core project in Visual Studio Code to <a href="https://api.nuget.org/v3/index.json" rel="noreferrer">https://api.nuget.org/v3/index.json</a></p>
  
  <p>When I attempt to add a package (and subsequently, restore dependencies), I get the following errors...</p>
  
  <pre><code>C:\Program Files\dotnet\sdk\2.1.403\NuGet.targets(114,5): error : Unable to load the service index for source https://smartassessor.pkgs.visualstudio.com/_packaging/SANuget/nuget/v3/index.json. [c:\Users\Matthew.OConnor\Desktop\Important Documents\Programming\DatingApp\DatingApp.API\DatingApp.API.csproj]
  C:\Program Files\dotnet\sdk\2.1.403\NuGet.targets(114,5): error :   Response status code does not indicate success: 401 (Unauthorized). [c:\Users\Matthew.OConnor\Desktop\Important Documents\Programming\DatingApp\DatingApp.API\DatingApp.API.csproj]
  </code></pre>
  
  <p>This source <code>https://smartassessor.pkgs.visualstudio.com/_packaging/SANuget/nuget/v3/index.json</code> has nothing to do with my current project, however it is used for other projects that are typically run using full blown Visual Studio. Those projects are saved in a completely different place to this project.</p>
  
  <p>I simply want to be able to add nuget packages from nuget.org in my .net core project. How do I do this in VS code?</p>
  
  <p>I don't currently have a <strong>nuget.config</strong> file in this project. </p>
  
  <p>The package source mentioned in the error appears to be coming from a package source I have setup whilst using Visual Studio </p>
  
  <p><a href="https://i.stack.imgur.com/Oe0Uh.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Oe0Uh.png" alt="enter image description here"></a></p>
  
  <p>This is my <strong>csproj</strong> file...</p>
  
  <pre><code>&lt;Project Sdk="Microsoft.NET.Sdk.Web"&gt;
    &lt;PropertyGroup&gt;
      &lt;TargetFramework&gt;netcoreapp2.1&lt;/TargetFramework&gt;
    &lt;/PropertyGroup&gt;
    &lt;ItemGroup&gt;
      &lt;Folder Include="wwwroot\"/&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.App"/&gt;
      &lt;PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="2.1.4"/&gt;
      &lt;PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="4.0.1"/&gt;
      &lt;PackageReference Include="CloudinaryDotNet" Version="1.3.1"/&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.1.0-preview1-final"/&gt;
    &lt;/ItemGroup&gt;
  &lt;/Project&gt;
  </code></pre>
  
  <p><code>CloudinaryDotNet</code> is the package that generated the errors above.  </p>