Ikechi Michael
Ikechi Michael

Reputation: 489

How to add Package to NUGET using GUI

There are these custom libraries I keep using in a lot of my projects. I need to add it to NUGET so members of my team can get the latest versions when they need it.

Is there a command-line free way to add a visual studio project to NUGET?

Upvotes: 0

Views: 638

Answers (1)

Jack Zhai
Jack Zhai

Reputation: 6436

Nuget.org is a shared source for public nuget packages. To publish the generated package to it, like the documents:

https://docs.nuget.org/ndocs/quickstart/create-and-publish-a-package

https://blogs.msdn.microsoft.com/mvpawardprogram/2016/06/28/creating-nuget-packages/

If you want to publish the package to nuget.org:

Create an account, if you don’t have one.

Go to https://www.nuget.org/packages/upload

Click Choose File and navigate to the generated nuget package Hit Upload

Verify the information that will be published, then click Publish

And then, the nuget package will be available online for thousands of users.

Of course, I agree with Panagiotis Kanavos' suggestion, if you want to use this packages for your team, maybe local packages would be better. For example, using the VSTS in command line here:

https://www.visualstudio.com/docs/package/nuget/publish

Upvotes: 1

Related Questions