How to automate nuget updates?

peledzohar

Zohar Peled

Posted on May 5, 2020

How to automate nuget updates?

In the company I work for we host a nuget service, containing mostly infrastructure Dlls and stuff like that.

Every once in a while someone makes a braking change to a service one of these Dlls is talking with (not necessarily the same Dll every time), so that all applications and services using that dll must update the nuget reference, update their own version, rebuild, and either be published to nuget themselves, or installed as services on the client's server.

Currently, we do that manually - opening each solution in VS, and as I'm sure you can guess, that process is both extremely annoying and time consuming.

I'm looking for a way to automate this entire thing - preferably using c# to do all the heavy lifting for us - update the relevant package, update the version number, and rebuild. Of course this should be configurable - what projects to handle and what packages to update.

So before I start making suggestions to my team leader about wanting to build such a thing - I thought I'd better ask around if anyone knows of such a tool already existing out there (doesn't even have to be a free tool), preferably an open source c# so that we could mess around with it's internals if need to.

Thanks in advance,
Zohar.

💖 💪 🙅 🚩
peledzohar
Zohar Peled

Posted on May 5, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related