Unable to

We have recently upgraded our sotware to .NET 8.0 and I get the following error when trying to open the report editor or the report previewer.

Unable to find an entry point named 'SetWindowTheme' in DLL 'user32'

This was happening on version 2020.2.0 so I upgraded to Demo version 2026.1.4 and the problem still persists.

I want to be sure that it is fixed in the release version before I pay to upgrade the library.

Comments

  • Hi

    Is this issue still relevant?

    If yes, please clarify:

    1. On which OS is the application running?
    2. Which version of FastReport are you using?
  • Hello!

    To resolve your issue, you can set the TargetFramework as follows:

    <TargetFramework>net10.0</TargetFramework>

    Alternatively, you can add a reference to System.Windows.Forms in your application.

This discussion has been closed.