Visual studio : push nuget to gitlab

Guillaume CHAFFAROD 6 Reputation points
2022-09-02T08:24:23.353+00:00

Hello here.

Is there any option or extension for Visual Studio 2019 that allows to push a package through the "dotnet push" command using a nuget source ?

I'd like to push to a GitLab package repository and I don't want to push using project settings (AfterTargets="Pack") because I don't want the project to be compatible with a unique source name (other developers should have their own source name / username / password for the same repository) and sometimes, i would like to pack the project for testing purposes.

The best would be to allow to perform the "Pack" command and then to select a source instead of being limited to Azure / Docker / File system...

Thank you for your help.

Developer technologies | .NET | Other
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.