TeamCity Nuget Feed does not pick up latest Packages from a build

Mike Barnes

So we have a TeamCity server that builds our code and we have some "NuGet Pack" steps to pack our dependancies. Now after switching routers at the office The localfeed picks up packages from previous builds and not the latest versions. We publish the build artifacts and put them in build/packages. Could someone please shed some light as too where nuget looks for the packages we created and how can we fix the problem.

John Hoerr

TeamCity stores the packages on the server and makes them available via the URL(s) shown in Administration -> Server Configuration -> NuGet. See also.

Now after switching routers at the office ...

Assuming nothing else has changed, and that this was all working before, you should simply need to ensure that your build agents can route to the host(s) defined in those URLs.

EDIT: There are two questions which can help you to understand the ways a build agent can be configured to look for packages at a given URL.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

push NuGet packages to TeamCity NuGet server

TeamCity not restoring NuGet packages from particular package source

Delete NuGet packages from Visual Studio Online Package Feed instead of Unlist

Pick up the latest releases from each major node version with jq

Download all packages from private nuget feed

TFS on premise can't restore nuget packages from private feed

Restoring NuGet packages to the latest version

SonarQube VSTS Task does not pick up Build Variable correctly

Build Error with NuGet packages

Nuget packages not downloaded for Azure build

Nuget restore returns 401 unauthorized during Jenkins build for packages in Azure DevOps artifacts feed

Remove foreign nuget packages from private nuget feed

Some packages can't be downloaded from Azure DevOps Artifacts feed with NuGet upstream source

AppHarbor build error with nuget packages

Create and Publish nuget packages from TFS build process?

FAKE, TeamCity and old versions of NuGet packages

Installing the latest build of packages

How to update NuGet packages to the latest version at build time without altering Project files

Hiding Some nuget packages in TeamCity

Push all packages to remote NuGet feed

Building Nuget package from VS Project doesn't pick up ReadMe or Web.Config.Transform

TFS 2015 Automatically update packages from custom nuget repository on build

No packages found for TeamCity NuGet feed

Methods for ensuring Visual Studio Solution NuGet packages are reinstalled during TeamCity CI build

TeamCity Build Server cannot restore nuget packages

Nuget does not restore packages from source control

Non-proprietary Nuget Packages Showing in Nuget Server/Artifacts Feed

Failure to restore nuget packages from organisation feed

How to get the list of all the packages with their versions from Artifacts/Nuget Feed in Azure Devops using C#?