Bulk Update for NuGet packages
Answered
My solution consists of 150+ projects and updating NuGet without bulk update feature is a pain.
I would like to have "Install" button as well as checkboxes for selecting solution projects to update. Also it would be helpful to specify what package version will be installed.
See Visual Studio example
Please sign in to leave a comment.
+1
Updating packages for large solutions with multiple projects and differen package versions etc is kind of a pain in the ass at the moment. VS handles this pretty well, would be nice to see something similair in Rider.
Hello,
A bulk update is already possible: one can select several packages with Shift+Up/Down or Shift+Mouse in NuGet window, call context menu (Enter or ContextMenuKey or MouseRightClick) and see all the actions which make sense for all selected projects.
To change NuGet package version for several projects, please choose the needed version in the drop-down, select the projects, call context menu and select "Upgrade". This feature is not easily discoverable, we are thinking on how to improve this. Please watch this issue for updates.
Thanks for the reply, was not aware of that. However it doesn't look like it's possible unless all projects have the same version of the package:
@Julia Vaseva
Also, selecting the projects where I want the update to take place is a few more clicks than
Generally when we update a package, we update it in all projects. We generally want to prevent having multiple versions of the same package installed. So it's generally necessary to update the package in all affected projects. Having to select affected projects manually is an extra source for errors.
Hence i would propose:
Christofferslettan Thanks! I have created an issue for this.
Bruno Lorenz Juchli Thanks for your feedback. We will implement updating the package in all projects in future versions. Here is an issue for this, I have added your suggestion to comments.