Skip to main content
All docs
V25.2
  • VCL Reports/Dashboards App Deployment

    • 4 minutes to read

    ExpressDashboards and ExpressReports components use the WebView2 Runtime as a dependency to display content. To build and deploy an application that includes any of these components, you must ship a native and architecture-specific WebView2Loader.dll file with a built executable file using post-build events available as part of the RAD Studio IDE toolchain.

    Note

    If you do not display report or dashboard content in your app (for example, if you use a standalone TdxDashboard container or a TdxReport to generate and export documents), the WebView2 Runtime is not required.

    Prerequisites

    Ensure that your development environment meets ExpressDashboards and ExpressReports prerequisites:

    1. Microsoft Windows 10 or newer.
    2. Embarcadero RAD Studio IDE 12.3 or newer (Community Edition IDEs are not supported).
    3. DevExpress VCL v25.2.x. (You must own a VCL Subscription+ license or DevExpress VCL and Universal licenses).
    4. The EdgeView2 SDK package installed from the GetIt package manager.

    Post-Build Events for WebView2 Loader DLL Deployment

    To automatically place a 32 or 64-bit WebView2Loader.dll file into the target build folder, you must:

    1. Open the Project Options dialog (select the ProjectOptions… item in the RAD Studio menu or press Ctrl + Shift + F11).
    2. Select BuildBuild Events in the tree view pane on the left and select the following option in the Target combo box:

      'All Configurations - All Platforms'

      VCL Shared Libraries: Project Options — Select the Target Platform

    3. Copy the following command line:

      copy /Y "$(BDS)\Redist\$(Platform)\WebView2Loader.dll" $(OUTPUTDIR)
      
    4. Paste the DLL deployment command line into the Commands box:

      VCL Shared Libraries: Paste the DLL Deployment Command Line

    5. Click the Save button to apply pending changes and close the Project Options dialog.

    6. Build the project. Confirm that the configured post-build event is trusted in the following dialog:

      VCL Reports: The "Trust this Project" Dialog

    All build operations in the current RAD Studio project now ensure that the platform-specific WebView2Loader.dll file version is available in the target build folder (for both Debug and Release configurations).

    Important

    Ensure that you distribute the copied WebView2Loader.dll file in the same folder as the built executable file.

    Deploy Additional Resources & Dependencies

    Depending on your business needs and desired app functionality, you may need to deploy additional resources and dependencies with the built executable file.

    Localization Resources

    To localize UI elements for ExpressReports and ExpressDashboards, do the following:

    1. Log in to the DevExpress website and use the DevExpress Localization Service to obtain localization resources for all desired languages and components.

    2. Extract all downloaded localization resources from self-extracting archives you downloaded using links contained within the email. Each resource archive contains a json resources folder.

      Example Path: C:\Downloads\DevExpressLocalizedResources_2025.1_el\json resources (where the el culture identifier corresponds to Greek, de – to German, etc.)

    3. Create a localization subfolder in the directory where your executable app file is located and copy extracted json resources/dxreporting.xx.json files into the folder for each target culture/language.

      Example Path: C:\Projects\ReportingApp\localization\dxreporting.el.json

    Tip

    Refer to the following help topic for detailed information: Report Viewer and Designer UI Localization.

    Database Provider Assemblies

    If you use the following relational database management systems (RDBMS) as data sources for ExpressReports and ExpressDashboards components, you need to deploy corresponding database provider assemblies with the built executable file:

    PostgreSQL
    PostgreSQL is an open-source database management system.
    MySQL
    MySQL is an open-source relational database management system developed by the Oracle Corporation.
    Oracle Database
    Oracle Database is a proprietary multi-model database management system developed by the Oracle Corporation.
    Firebird
    Firebird is an open-source SQL relational database management system.

    Download and deploy required assemblies into a dotnet_libraries subfolder according to the steps listed in the following help topic for corresponding database engines: Supported Database Systems.

    Tip

    VCL Backend implementation has built-in support for Microsoft SQL, Azure SQL, and SQLite database engines.

    You can use the TdxBackendDatabaseSQLConnection component to connect TdxDashboard/TdxDashboardControl and TdxReport components to these databases without additional dependencies and extra configuration.

    See Also