gottscj / Hangfire.Mongo

Mongo DB support for Hangfire
MIT License
262 stars 84 forks source link

Compatibility Issue with Hangfire.Mongo 1.11.0 on .NET Framework 4.7.2 #416

Open apizzoni opened 1 week ago

apizzoni commented 1 week ago

Hi,

After the release of version 1.11.0, I encountered an issue where trying to update the package on a .NET Framework 4.7.2 project results in the following error:

Severity Code    Description    Project File    Line    Suppression State
Error   NU1202  Package Hangfire.Mongo 1.11.0 is not compatible with net472 (.NETFramework,Version=v4.7.2). Package Hangfire.Mongo 1.11.0 supports:
  - net6.0 (.NETCoreApp,Version=v6.0)
  - net8.0 (.NETCoreApp,Version=v8.0)
  - netstandard2.1 (.NETStandard,Version=v2.1)

Interestingly, if I manually include the source code in my solution, everything works fine. This leads me to believe that there might be an issue with the NuGet package manifest.

Thanks again for the fantastic work on this project!

Best regards.

gottscj commented 1 week ago

@apizzoni,

I see. The problem is I build the nuget package in an ubuntu runner. I will fix ASAP.

I will most likely not be until after next week though

Thanks!