A. Karboush

Results 6 comments of A. Karboush

Any class registered in the DI as IBackgroundProcess is automatically added as an additional service. See [CreateBackgroundJobServerHostedService method](https://github.com/HangfireIO/Hangfire/blob/3c42f0b8d5ec5ded223cde6e5f378966ba4db758/src/Hangfire.AspNetCore/HangfireServiceCollectionExtensions.cs#L221)

What I meant, just use the `AddHanfireServer` method that takes optionsAction and no JobStorage as parameter ```csharp public static IServiceCollection AddHangfireServer( [NotNull] this IServiceCollection services, [NotNull] Action optionsAction) { .........

@Sergio0694 I'm having the same problem myself with all versions actually 7.1.2, 8.0.0, 8.1.0 and 8.2.0. I tried 4.8 and 4.7.2 also but without success. The wired thing is that...

> add `true` into your PropertyGroup like this > > ``` > > WinExe > net472 > true > true > > ``` ~~Appreciate it @VergilGao . It works~~ Edit:...

@HppZ exactly, the problem seems to exist only in the legecy csproj style, using the [upgrade-assistant tool](https://dotnet.microsoft.com/en-us/platform/upgrade-assistant) to upgrade the project to the SDK style solved the problem for me...

> [@akarboush](https://github.com/akarboush) I can reproduce the issue on SqlServer, but on Sqlite I hit a different exception when running your code: > > ``` > System.InvalidOperationException: > Translating this query...