Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

public bool CheckClientLibraryVersions { get; set; }

#Property Value

Type Description
Boolean

true if a check for inconsistency between server and client library versions us enabled; otherwise, false.

#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:

web-application-diagnostics-debug-log-versions

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();
See Also