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.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,342 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,573 questions
{count} votes