Cannot create an instance of an interface => after upgrade to .net6 and Hangfire 1.7.31

Hello,
I have just upgraded a working existing project from .net5 to .net6, after that I have updated Hangfire to version 1.7.31.

When doing the upgrade from net5 to net6 I have copied everything from Startup.cs in the Program.cs

The application is running, unfortunately Hangfire is not able to process any jobs. In the dasjboard I can see following error: System.MissingMethodException: Cannot dynamically create an instance of type ‘IExecutorBusinessLayer’. Reason: Cannot create an instance of an interface.

Before the upgrade to .net6 everything was running fine. Any known issues or people with thesame issue?