-
Notifications
You must be signed in to change notification settings - Fork 11
Description
https://www.jetbrains.com/help/teamcity/using-teamcity-as-nuget-feed.html says
You can use TeamCity NuGet feeds to restore packages in your builds: when the NuGet Installer or NuGet Publish build step is used, TeamCity will use the credentials provider to automatically authenticate requests to the private TeamCity NuGet feeds.
This appears to be literally true: the credentials provider is used automatically with NuGet Installer build steps. But if you instead have a VS or an MSBuild build step with Restore
among the targets, the credentials provider does not appear to be used unless you explicitly add a "NuGet feed credentials" build feature to the project.
It would be useful to have the credentials provider applied automatically regardless of the choice of build step, or at least to have a global configuration parameter to enable this.
Cross-reference: JetBrains/teamcity-documentation#62