Skip to content

Use credentials provider with VS / MSBuild build steps #28

@pjt33

Description

@pjt33

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions