Fastreport Avalonia demo error,how to solve it?

Comments

  • Hello!

    The attached screenshot does not show the full text of the exception in the subject line. If the error occurs during `new Report()` / `Prepare()` when running the FastReport Avalonia demo, please check the following two common issues:

    If you are calling the report from console or background code without an Avalonia window, initialise the Avalonia platform first:

    AppBuilder.Configure<Application>().UsePlatformDetect().SetupWithoutStarting();

    If opening a file or exporting fails on macOS or Linux, check that the system fonts are present and that the package version is up to date (FastReport.Avalonia.Demo 2027.1.0).

    Please send us the full stack trace of the error and your .csproj file (TFM and OS) so that we can investigate the exact cause.

This discussion has been closed.