Private Feed Lists Packages but Packages Are Not Found
Hello,
I have an internal library packaged and published to a private nuget feed.
The package is listed however upon install, can not be found. As a result, all local source cannot reference the package and all TeamCity builds referencing the package on the feed fail as well.
I have tried V2 vs V3 protocols, trying various 'NuGet Package'/'NuGet Publish' build step settings, updating VS, reinstalling nuget, updating TeamCity, switching between http and guest auth, recreating the project with new endpoints.
My endpoints appear valid and return the expected result in browser:
https://teamcity.<mysite>.com/httpAuth/app/nuget/feed/<myproject>/default/v2
It looks like a similar bug has happened in TC releases in years past, has anyone run into this recently?
Thank you in advance.
Please sign in to leave a comment.
You mentioned the package is listed. If it can be listed, it should be able to be restored. I assume you are checking that with the `nuget list -source ` command. If that's the case, and the package is indeed listed, there shouldn't be any issues with indexing the package. Otherwise, you might need to enable the package indexer either as a build feature of a specific build configuration or as a NuGet feed setting for the whole project.
Last but not least, ensure your TeamCity server version is current.