DevelopmentModeOptions.CheckClientLibraryVersions Property
Enables a check for inconsistency between server and client library versions.
Namespace: DevExpress.XtraReports.Web.Extensions.Options
Assembly: DevExpress.Web.Reporting.v24.2.Common.Services.dll
NuGet Package: DevExpress.Web.Reporting.Common.Services
Declaration
Property Value
Type | Description |
---|---|
Boolean |
|
Remarks
The DevExpress Web Reporting application relies on a server-side application to process reports. The version of the DevExpress scripts (npm packages) should match the version of server-side libraries (NuGet packages). When you call the ReportingConfigurationBuilder.UseDevelopmentMode() method, the CheckClientLibraryVersions
is also enabled.
If versions do not match, a warning is written to the log:
You can disable the library version mismatch check on every request to the server with the following code snippet:
var builder = WebApplication.CreateBuilder(args);
builder.Services.ConfigureReportingServices(configurator => {
configurator.UseDevelopmentMode(x => x.CheckClientLibraryVersions = false);
});
var app = builder.Build();