Dotnet Publish uses old Nuget Feed url

Hi,

We recently changed out Nuget repository url. When I run Nuget publish, it still uses old nuget feed url. I made sure that %AppData%/Romaing/Nuget/Nuget.config hasnew url.

When I run build step with diagnostic output, I see following variables that contain old and new url both:

  1. OutputSources
  2. RestoreSources

I tried setting these variables as system and environment variables to override it. But it still can't pickup those changes.

What are the other places I need to look into so that I can replace my old nuget feed url.

Also dotnet publish doesn't allow us to define sourceUrl.

0

Please sign in to leave a comment.