JetBrains Rider 2018.2 Help

NuGet window

View | Tool Windows | NuGet
Alt+7


This window lets you manage NuGet packages in your solution.

Packages tab

In this tab, you can manage installed packages and explore available packages.

nuget window

Toolbar Controls

Control

Name

Description

nuget restore

Restore

Calls the standard NuGet restore mechanism (which can be slow, especially on .NET Core projects). Alternatively, you can use the 'Light' restore mechanism (Tools | NuGet | NuGet Restore (Light)), which works almost instantaneously, with a very small chance of failing to restore some packages.

ThemedIcon Refresh Screen Gray

Refresh

Updates window content to reflect any changes made in the code or externally.

icon toggle output position

Toggle Details Position

Use this button to change the position (right or bottom) of the details pane, which lets you view details as well as install/remove/upgrade/downgrade the selected package.

icon nuget upgrade

Upgrade all packages in Solution

Use this button to upgrade packages installed in all projects within the current solution. Depending on the Prerelease checkbox, JetBrains Rider will either upgrade packages to their latest release versions or to the latest pre-release versions.

ThemedIcon Settings Screen Gray

NuGet Settings

Opens the Build, Execution, Deployment | NuGet page of JetBrains Rider settings, where you can configure all settings related to NuGet package management.

Sources tab

In the Sources tab of the NuGet window, Rider lists all NuGet configuration files discovered on your machine. You can add, remove, or edit package sources for the selected config file on the right panel, or click these files to open them in the editor.

If necessary, you can add or remove package sources manually, by editing the packageSources section of a configuration file. For example:

<packageSources> <add key="My online package source" value="https://some.address/"/> <add key="My local package source" value="C:\NuGetPackages\"/> </packageSources>

Use the Reload ThemedIcon Refresh Screen Gray button to re-scan related NuGet configuration files.

Caches tab

NuGet caches all downloaded packages to make them available when there is no Internet connection and to prevent multiple downloads of the same package.

With Rider, you can view locations of NuGet caches and clear selected locations in the Caches tab of the NuGet window. Clearing NuGet caches is safe, it does not affect packages installed in your projects.

Toolbar Controls

Control

Name

Description

nuget restore

Restore

Calls the standard NuGet restore mechanism (which can be slow, especially on .NET Core projects). Alternatively, you can use the 'Light' restore mechanism (Tools | NuGet | NuGet Restore (Light)), which works almost instantaneously, with a very small chance of failing to restore some packages.

ThemedIcon Refresh Screen Gray

Recalculate Folder Sizes

Use this button to re-scan all cache folders and update their displayed sizes.

ThemedIcon FolderOpened Screen Gray

Open Folder

Use this button to open selected cache folder in the Explorer/Finder.

icons actions gc svg

Clear Selected Caches

Use this button to clear the contents of the selected cache folder.

ThemedIcon Settings Screen Gray

NuGet Settings

Opens the Build, Execution, Deployment | NuGet page of JetBrains Rider settings, where you can configure all settings related to NuGet package management.

Log tab

This tab displays logs of everything related to NuGet package management in Rider.

Toolbar Controls

Control

Name

Description

icon show content

Show Content

Allows you to show or hide details of the log messages.

artwork studio icons layout editor toolbar orient horizontal

Show/Hide Level

Use this button to display or hide verbosity level (INFO, VERBOSE, etc.) in log messages.

icons actions toggleSoftWrap svg

Use Soft Wraps

Use this button to enable line wrapping for lines exceeding the current width of the output area.

icons runConfigurations scroll down svg

Scroll to the end

Use this button to enable automatic scrolling of the output to the last line so that the most resent messages.

icons actions gc svg

Clear All

Use this button to clear the log output.

Verbosity Level

Use this selector to only display log entries whose verbosity level equals or lower than selected.

artwork studio icons profiler toolbar clock

Show Time

Allows you to show or hide execution time for each item.

Title bar context menu and buttons

You can right-click on the window title bar and use the context menu to configure its viewing mode, associate the window with a different tool window bar, or resize and hide the window.

You can also use the toolbar buttons:

Item

Shortcut

Description

icons general gearPlain svg

Click this button to access a subset of the context menu commands that let you configure window's viewing mode.

icons general hideToolWindow svgShift+Escape Use this icon or shortcut to hide the tool window.

When used in combination with the Alt key, clicking this icon hides all the tool windows attached to the same tool window bar.

Last modified: 21 December 2018