相关文章推荐
大鼻子的手链  ·  Managing monorepos | ...·  1 月前    · 
儒雅的太阳  ·  Troubleshooting ...·  1 周前    · 
谦虚好学的铁链  ·  西澳大利亚州概况·  7 月前    · 
大力的烤面包  ·  写轮眼 - 知乎·  1 年前    · 

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.

I just asked if a feature exists in VS. It's not about GitLab, it's about pushing to a nuget source configured on the user computer (in the nuget.config file) instead of options provided by VS (Azure / Docker / File system).

I can push to gitlab using the "nuget push" command using the source (nuget standard API => dotnet nuget push {nupkg_file} --source {source_name} ) but not from Visual studio.

If you have any suggestion about the feature, you can directly report it to product team by selecting “Help” menu > Send Feedback.
Thank you for helping us build a better Visual Studio!