Updating Packages

  • 2 minutes to read

Use one of the following approaches to update the DevExpress NuGet packages in your project:

Project Converter

You can use the Project Converter to update package versions in the PackageReferences format in your project. Project Converter does not support the old packages.config format.

ASP.NET WebForms and WPF applications’ .aspx or .xaml files may contain assembly references. In this case, launch the Project Converter tool to update the references to the correct version numbers after updating DevExpress NuGet packages.

Important

Update to v21.1+

In v21.1, .NET Core Desktop NuGet packages have been renamed and merged into NuGet packages with .NET Framework assemblies.

If you develop with .NET Core Desktop libraries (WinForms or WPF) in v21.1+, use the Project Converter to update the \*.WindowsDesktop.\* packages in your apps automatically.

Refer to the T984618 - Structural changes to NuGet Packages and the Unified Component / .NET Core Desktop Product Installers article for more information.

Package Manager Dialog

  1. Invoke the Package Manager dialog (select Tools > NuGet Package Manager > Manage NuGet Packages for Solution).
  2. Go to the Updates tab.
  3. Select the packages you want to update (or use the Select all packages to update all packages) and click Update.

Package Manager Console

  1. Open the Package Manager Console (select Tools > NuGet Package Manager > Package Manager Console).
  2. Ensure that the Package Source option is set to DevExpress NuGet feed.
  3. Type Update-Package.

NuGet CLI

  1. Obtain the DevExpress NuGet feed URL containing your feed authorization key as described in the Obtain Your NuGet Feed Credentials document.
  2. Go to the command line and type nuget update -Source https://nuget.devexpress.com/{your-feed-authorization-key}/api to update the current project’s packages.