Upgrading references for Section reports

Posted by: John.Reynolds on 26 January 2022, 5:09 am EST

  • Posted 26 January 2022, 5:09 am EST

    I've been trying for well over an hour to figure out how to upgrade my AR 15 references to the latest version(s) to take advantage of bug fixes. I have, per documentation, the two required dotnet 4.8 and dotnet 5 separate projects.

    I've tried everything to move the 15.x package references up, but something always prevents it.

    So if I need to handle a bug fix by upgrading package(s), what's the recommended route?
  • Replied 27 January 2022, 5:54 am EST

    Hi John,
    You can download and install the latest version of ActiveReports 15 from the Nuget Package Manager.
    To update the references using the Nuget Package Manager please follow the following steps.

    1. Open Nuget Package Manager by right-clicking on the Solution Name (not project name)
    2. Select the ActiveReports references in the Installed tab.
    3. Select the required version and select both .Net Framework 4.8 and .Net 5 projects
    4. Click on Update.

    To upgrade all the ActiveReports references repeat the above process for all the references of older version.

    Let us know if you need any other information.
  • Marked as Answer

    Replied 22 February 2022, 3:09 am EST

    I'm glad I haven't had a support ticket which has required me to upgrade a single NuGet package, because it's basically impossible.

    The only sure way I've found to successfully upgrade NuGet packages from say 15.1.x to 15.2.x and the like is to install the latest ActiveReports 15 download package, then go into Visual Studio and select to "Upgrade reports to Active Reports 15" (even though they're already on 15).

    If I try to upgrade NuGet packages on my own, it ends in utter misery. I've tried for hours in all kinds of ways and approaches, and it never works out in the end.
  • Replied 22 February 2022, 10:02 pm EST

    Hi John,

    Sorry to know you were facing issues while upgrading the NuGet packages. I am glad to know you have resolved your issue. Thanks for sharing the solution with us here as it will be helpful to others in future.
  • Replied 23 February 2022, 3:20 am EST

    I believe you misunderstood my last post. I said I FAILED having tried multiple times to make things work. I challenge anyone at ActiveReports to take a sufficiently complicated Section Report structure and upgrade them successfully from 15.1.x to 15.2.x. I've never been successful at it.

    If your team has a best practice on how to upgrade NuGet packages to higher minor versions, I'd like to know what it is.
  • Replied 2 March 2022, 1:26 am EST

    Anyone want to take me up on this?
  • Replied 3 March 2022, 7:09 am EST

    Hi John,

    Apologies for misunderstanding your response.

    The recommended route for upgrading the NuGet packages to a higher version would be to open the "Manage Packages for Solution" tab by Right-Clicking on the Solution in Solution Explorer, selecting the Manage "Nuget Packages for Solution.." option in the context menu, and then select the "Grapecity.ActiveReports" NuGet package and then install the desired version, as this would automatically upgrade all the dependent packages to the minimum required version for the selected version of Grapecity.ActiveReports package.

    I have attached a screenshot below for your reference as well.

    For more info on managing ActiveReports dependencies, please refer to the below link:

    Dushyant Sharma
  • Replied 7 March 2022, 6:10 am EST


    The upgrade path of selecting just the GrapeCity.ActiveReports package and upgrading it alone does seem to bring along a few packages. But what about the other packages which languish at a lower level and aren't brought along?

    There are for example ~40 required ActiveReport NuGet packages for this particular solution; when upgrading, only about 17 out of the 40 are actually upgraded, and the export packages don't get upgraded automatically. You can see in my image that there is a matching 15.3.1 version for them, but I've found that these must be manually done one at a time, and eventually you'll run into conflicts. So what is the proper way of upgrading all the other packages to the most recent 15.x release?

  • Replied 9 March 2022, 1:06 am EST


    I would then recommend you to update the packages using the "Converts to ActiveReport15" option in Visual Studio to upgrade to the latest Nuget after installing the latest installer on the system.

    Apologies for the inconvenience.

    Dushyant Sharma

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels