Install NuGet Packages in Visual Studio, VS Code, and Rider
- 3 minutes to read
Visual Studio for Windows
Select DevExpress Local NuGet Feed as a NuGet Package Source
Follow the steps below to use the local NuGet feed (created and configured by the Unified Component Installer) as a package source in Visual Studio for Windows:
Open the Visual Studio NuGet Package Manager for a solution or project. In the Solution Explorer, right-click the solution or project and select Manage NuGet Packages… in the context menu:
Select the ‘All’ or ‘DevExpress Local’ NuGet feed as a package source:
Browse DevExpress packages and install. Enable the ‘Include prerelease’ option to include DevExpress packages with hotfix, EAP/CTP, and Beta releases.
Select DevExpress Online NuGet Feed as a NuGet Package Source
Follow the steps below to register/activate the online NuGet feed as a package source to install DevExpress packages:
- Invoke the Visual Studio Options dialog (Tools → Options).
- Locate NuGet Package Manager → Package Sources.
Click ‘+’ to add the online DevExpress feed to the package source:
If you use an authorization key, use
https://nuget.devexpress.com/apias the package source:
If you use a NuGet Feed URL, specify it as the package source:
In the Solution Explorer, right-click the solution or project and select Manage NuGet Packages… in the context menu.
If you registered the DevExpress NuGet feed with an authorization key, the login form is displayed when you invoke the NuGet Package Manager window for the first time. Enter your credentials as follows:
- User name:
- Password: your authorization key
To remove saved credentials, go to Control Panel → User Accounts → Credential Manager → Windows Credentials and delete the following records:
- User name:
Select the ‘All’ or ‘DevExpress’ NuGet feed as a package source.
Browse DevExpress packages for installation. Enable the ‘Include prerelease’ option to display packages with hotfix, EAP/CTP, and Beta releases.
Click Install to install the package.
Package Manager Console
You can also use the Package Manager Console (Tools → NuGet Package Manager → Package Manager Console) to find, install, or update DevExpress NuGet packages. Use the Package source drop-down list to specify the DevExpress NuGet feed as a package source.
The following example shows different console inputs that allow you to manage NuGet packages:
# View all packages whose names contain the keyword "web"
PM> Find-Package web
# Add the DevExpress.Web package and its dependencies to the current project
PM> Install-Package DevExpress.Web
# Remove the DevExpress.Web package and all its dependencies unused by other packages
PM> Uninstall-Package DevExpress.Web -RemoveDependencies
# Update all packages in the solution
# Update the DevExpress.Web package
PM> Update-Package DevExpress.Web
Refer to the Microsoft documentation for additional information: Package Manager Console.
Visual Studio Code (VS Code) and JetBrains Rider (Windows, macOS, Linux)
Please read the corresponding help topics for information on how to register your personal NuGet feed in VS Code and Rider cross-platform .NET IDEs: