Skip to main content
All docs
V25.1
  • DevelopmentModeOptions.CheckClientLibraryVersions Property

    Enables a check for inconsistency between server and client library versions.

    Namespace: DevExpress.XtraReports.Web.Extensions.Options

    Assembly: DevExpress.Web.Reporting.v25.1.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