In version 18.1, we have provided the capability to use our Web Reporting controls in applications targeting both .NET Standard and .NET Core frameworks. Along with this feature implementation, we have changed our assembly structure to avoid referencing unnecessary resources specific to other platforms in ASP.NET Core applications.
With v18.1, the ASPxReportDesigner, ASPxWebDocumentViewer, ASPxDocumentViewer and ASPxQueryBuilder controls and other related WebForms and MVC-specific classes have been moved from the DevExpress.XtraReports.v18.1.Web assembly to a new DevExpress.XtraReports.v18.1.Web.WebForms assembly. The DevExpress.XtraReports.v18.1.Web assembly now contains only cross-platform classes and resources used in WebForms, MVC and ASP.NET Core. This allows us to optimize a list of dependencies for each Reporting NuGet package.
Automatic Project Updating
You can update your project with Web Reporting controls to a new version using the Project Converter, which will automatically replace a reference to the cross-platform assembly with a reference to the DevExpress.XtraReports.v18.1.Web.WebForms one.
Manual Project Updating
If required, you can manually update your WebForms or MVC project by adding the DevExpress.XtraReports.v18.1.Web.WebForms assembly to the project's reference list and to the Web.config file.
XML<system.web>
<compilation>
<assemblies>
<add assembly="DevExpress.XtraReports.v18.1.Web.WebForms, Version=18.1.1.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
</assemblies>
</compilation>
</system.web>
For WebForms controls, you also need to change the @Register directive's Assembly attribute that is used on the corresponding Aspx page or in the Web.config file's Controls section. Replace the DevExpress.XtraReports.v18.1.Web attribute value with DevExpress.XtraReports.v18.1.Web.WebForms:
Old:
ASPx<%@ Register Assembly="DevExpress.XtraReports.v18.1.Web, Version=18.1.1.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.XtraReports.Web" TagPrefix="dx" %>
New:
ASPx<%@ Register Assembly="DevExpress.XtraReports.v18.1.Web.WebForms, Version=18.1.1.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.XtraReports.Web" TagPrefix="dx" %>