HangfireIO / Hangfire

An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
https://www.hangfire.io
Other
9.44k stars 1.71k forks source link

Update dependencies of "Hangfire.AspNet" nuget package #2333

Closed RudeySH closed 9 months ago

RudeySH commented 11 months ago

I just ran into an issue where I was unknowingly using an old version of Hangfire.Core, because I was referencing Hangfire.AspNet, whose dependencies look like this:

image

odinserj commented 11 months ago

Please reference the required packages and its versions explicitly, Hangfire.AspNet supports every version since 1.6.0 and there's no need to bump every Hangfire-related package to a higher version with each Hangfire.Core release, since it's very impractical.

<PackageReference Include="Hangfire.Core" Version="X.Y.Z" />
<PackageReference Include="Hangfire.AspNet" Version="0.2.0" />