

- #Visual studio shortcuts package management upgrade#
- #Visual studio shortcuts package management code#

To find a NuGet package, use the search field and the list of Available packages, which appears under the list of Installed packages.

#Visual studio shortcuts package management upgrade#
To upgrade the installed packages, click Upgrade all packages in Solution on the NuGet window toolbar and then optionally choose which packages should be upgraded.Īlternatively, you can select one of the installed packages in the left-hand side of the NuGet window choose the desired version in the right part, and then upgrade/downgrade specific projects to this package version. If necessary, you can change the auto-restore behaviour on the NuGet settings page, which you can also open by clicking NuGet Settings on the NuGet window toolbar. When you open a solution, Rider will automatically apply the 'Light' algorithm to restore missing packages. It is available in the main menu ( Tools | NuGet | NuGet Force Restore) or in the NuGet quick list Alt+Shift+N. We recommend using force restore for large projects. The 'Force' algorithm works almost instantaneously, however there could be cases where it fails to restore some packages. It is available in the main menu ( Tools | NuGet | NuGet Restore), in the NuGet quick list Alt+Shift+N, and by clicking Restore on the NuGet window toolbar.įorce - performs a number of heuristics to determine which packages should be restored. Normal - calls the standard NuGet restore mechanism, which can be slow, especially on. Rider provides two algorithms for restoring NuGet packages: You can select installed or available packages in the left part of the Packages tab, and use the right part to check package details, as well as to install, upgrade/downgrade, or remove the package in specific projects:Įvery installed and available package has a lot of helpful commands in its context menu, which is available with the right-click or Alt+Enter Restore and Upgrade NuGet packages To learn which package references an implicitly installed one, right-click it and choose Quick NuGet Documentation or press Ctrl+Q. Their versions are shown in brackets because you cannot upgrade or downgrade them. Packages that are referenced from other installed packages are displayed in the Implicitly Installed category.
#Visual studio shortcuts package management code#
To do so, use the scope selector next to the search box:Īvailable packages for the selected scope are always shown below the installed packages.įor each installed NuGet package, you can find code dependent on it - right-click it and choose Find Dependent Code (all projects). Browse installed and available NuGet packagesīy default, the Packages tab of the window shows all packages installed in the whole solution, but you can change the view to only show packages of a specific project. You can install, update, and remove NuGet packages via the NuGet window Alt+Shift+7 and NuGet quick list Alt+Shift+N. In addition to consuming NuGet packages, JetBrains Rider provides tooling for creating NuGet packages.
