Skip to main content

How to Publish a Nuget package in NuGet Gallery?


Nuget Tutorial — Learn how to publish a Nuget package in NuGet gallery.

Step 1 - Create an account at NuGet.org

Head over to http://nuget.org/ and register for an account. Once you do that, click on "My Account" to see an API Key that was generated for you.

Step 2 - In a command console, run the command:

$ nuget setApiKey Your-API-Key Read more click here

Reference:- This article was originally posted on scmGalaxy.com


Comments

  1. This article provides a clear, step‑by‑step walkthrough of how to publish a NuGet package to the public NuGet.org gallery, starting from account creation and moving through packaging and upload. It is especially useful for developers new to the .NET ecosystem who need a concise, practical guide to get their first package live without diving into heavy official documentation.

    ReplyDelete
  2. Thanks for this clear and practical walkthrough — publishing a NuGet package has always felt a bit intimidating to me, but your step-by-step guide made the process much easier to understand. I especially liked how you explained not just the what, but the why behind each step, which really helps when you’re trying to avoid common mistakes or understand how versioning and dependencies work together. The screenshots and explanations of the NuGet.org interface were especially helpful, because that’s where I usually get stuck. One thing I’d love to see in a future post is a quick section on troubleshooting the most common errors people run into when pushing packages — that would make this already useful guide even more practical. Overall, this feels like a great resource for anyone new to package publishing or looking to streamline their workflow — thanks again for sharing!

    ReplyDelete

Post a Comment

Popular posts from this blog

Rajesh Kumar, A DevOps Trainer

Rajesh Kumar has Total, Over 12 years of extensive experience in the Software Configuration Management domain having depth knowledge of DevOps, Continuous Integration and Delivery, Configuration Management, Build and Installer, Release Management and Application Management.Approach Test Driven DevOps Approach Continuous Integration Continuous Delivery Continuous Deployment Code Quality and Analysis Test Coverage and Matrix Technical Debt Reduction Cloud Migration in AWS Link -  http://www.RajeshKumar.XYZ Email - DevOps at RajeshKumar dot xyz Mobile - +91 7739774984

Top skilful Git Trainers in Bangalore | scmGalaxy

scmGalaxy is a leading source of Git trainers, mentors, consultants and coaches in Bangalore City. Our git trainers and mentors are highly skilful and expereinced in the area of DevOps and Automation. They provide online and classroom Git training in Bangalore. Along with Bangalore they provide Git training in Pune, Hyderabad, Mumbai, Singapore, UK ,USA, Netherlands, etc. Read more click here

DevSecOps: Paradigm shifts are messy, but someone’s got to take the lead

A perfect storm of factors brewing in the dev, ops, and security worlds have created a window of opportunity to embed security into the application delivery lifecycle, in a needle-moving kind of way. However, security teams need to be the ones driving the DevSecOps charge or that needle will barely wobble. Given how many security practitioners spend their days putting out fires, adding “DevSecOps evangelist” to their job description is more likely to elicit groans than spur the desire to innovate application security. As understandable as that may be, unless security teams can create the groundswell needed for DevSecOps to stick, then another paradigm shift in computing will occur in which security gets Read More Click Here Reference:- This article was published on BestDevOps.com