Stick together with minor versions of updated packages, in the entire solution.
Ideally Update-Package should do but that command will pick up latest version of all packages, no matter what.
EDIT: I'm hopeful that there exists a switch, so that we don't have to type in specific versions of all packages one by one, NPM, where are you, can you manage DLLs as well ;-)
Right-click the Packages folder in the project, and select Update. This will update the NuGet package to the latest version. You can double-click the Add packages and choose the specific version.
I managed to upgrade all my packages to their latest minor version by using the dotnet-outdated global tool like this:
dotnet tool install --global dotnet-outdated
dotnet outdated --version-lock major --upgrade
It upgraded all the packages in that folder without any problems of intermediary downgrade errors.
UPDATE NOV 2020
According to Scott Hanselman, dotnet outdated is outdated. Long live the dotnet-outdated-tool!
dotnet tool install --global dotnet-outdated-tool
dotnet outdated --version-lock major --upgrade
Check out nukeeper to help out achieve this https://github.com/NuKeeperDotNet/NuKeeper
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With