Update NuGet packages ...
I find myself updating NuGet packages many times on my dotnet projects. And trying to find commands as many times as I have to update them ๐คฆ so, I decided to make it available forever as a reference to me.
For this, we just need a command line or terminal open, and ...
dotnet list package --outdated
Then, this will take some time to run (1 min or so โ) and the result will be something similar to this:
And that's it, next you can just edit the .csproj file where the packages are referenced or use the following CLI command:
dotnet add package RavenDb.Client --version 5.4.107
I'll keep in touch ๐๐
Subscribe to my newsletter
Read articles from Hugo Almeida directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Hugo Almeida
Hugo Almeida
I am a Developer, Project Manager and CEO of a Portuguese company, working with international customers. I decided tto start sharing knowledge, from complex development strategies, management or consultancy, to daily basis simple "stuff", like terminal commands.