All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

Upgrade to a New Package Version

  • 2 minutes to read

The topic below describes how to upgrade the ASP.NET Core Reporting application to a new version of Reporting components. You should update NuGet packages and npm packages.

NOTE

The script version on the client and the library version on the server should be the same. The DevExpress npm package versions should also be identical (their major and minor versions should be the same).

Update NuGet Packages

  1. Right-click the Dependencies node in the Solution Explorer and select Manage NuGet Packages in the invoked context menu.

    context-menu-manage-nuget-packages

  2. Select DevExpress 20.1 Local or your nuget feed from nuget.devexpress.com in the Package source drop-down list, go to the Updates page, and select the DevExpress.AspNetCore.Reporting package.

    web-nuget-package-update

    Click Update to proceed.

Update npm Packages

You can modify version numbers in the package.json file or use the npm command line interface.

Use the package.json File

  1. Open the package.json file and change version numbers to the version that you specified for the NuGet package in the previous step:

    {
    // ...
    "dependencies": { 
        // ...   
        "devextreme": "20.1.3",
        "@devexpress/analytics-core": "20.1.3",
        "devexpress-reporting": "20.1.3",
        // ...  
    }
    } 
    
  2. Install npm packages:

    npm install
    

Use CLI

Run the following command:

npm install devexpress-reporting@20.1.3 devextreme@20.1.3 @devexpress/analytics-core@20.1.3

Troubleshooting

If you run the project and it did not update, force your browser to bypass the cache and reload updated scripts. To do this, perform the following steps:

  1. Press Ctrl-F5 (works for most browsers) or use another command to refresh the browser.
  2. Modify the project code, add an arbitrary argument to each script or resource URL, and change this argument to the new version:

    <script src="dx-reportdesigner.js?v=19.2.7">
    
    <script src="dx-reportdesigner.js?v=20.1.3">
    

.