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:
- OutputSources
- 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.
Please sign in to leave a comment.