JetBrains Rider 2019.2 Help


File | Settings | Build, Execution, Deployment | NuGet for Windows and Linux
JetBrains Rider | Preferences | Build, Execution, Deployment | NuGet for macOS
Ctrl+Alt+S the Settings/Preferences icon

On this page, you can configure Rider's NuGet package manager.



Include prerelease

If this option is enabled, Rider will search and install pre-release versions of packages.

Include unlisted

If this option is enabled, Rider will search and install versions of packages that are at unlisted on the server (for example, at NuGet website). You may want to use this option to see outdated versions of packages.

Allow Rider to restore missing packages

This option defines global NuGet package restore policy. You may want to disable NuGet package restore if you have poor Internet connection, or if you work with a large solution with complex dependencies, where restoring packages with default settings can actually break compilation.

Automatically restore missing packages when necessary

This option affects different scenarios, where Rider automatically restores NuGet packages — e.g. when opening or building projects. By the way, automatic NuGet restore before building can be toggled on the Build, Execution, Deployment | Toolset and Build settings page.
Note that automatic NuGet package restore will be disabled if the Allow Rider to restore missing packages option is disabled.

.NET Core restore engine

By default, JetBrains Rider uses its own implementation of the .NET Core restore engine. You can enable the MSBuild engine instead, which you may need if you use Paket dependency manager in your projects. Even more, this option will be automatically set to MSBuild if JetBrains Rider detects Paket configs in your solution.
Note that the MSBuild support is experimental, and credential provider will not work with this option, i.e. if you use private NuGet feeds and configured your credentials on the Sources tab of the NuGet window, MSBuild engine will not be able to use these credentials.

Package Management
Default package management format

Use this selector to choose which NuGet package management format will be used:

  • packages.config — a legacy format that uses the packages.config file to store NuGet package information.

  • PackageReference — a newer format introduced with Visual Studio 2017 that stores NuGet package information in the project file.

By default, JetBrains Rider tries to automatically detect, which format should be used based on the project type or other projects in the solution.

Credential providers
Use credential providers

This selector lets you choose the authentication method for private NuGet feeds.

The default Rider integrated providers support credentials in the form of a username/password combination as well as for MyGet and Visual Studio Team Services (VSTS).

For private feeds that use plugin-based authentication method, choose NuGet/.NET CLI plugins or NuGet/.NET CLI plugins, then Rider integrated.

Preferences in the Install and Update and in Uninstall sections work exactly the same as in Visual Studio package manager:

Visual Studio package manager options
Last modified: 10 October 2019