I’m using the following dependencies:
"Autofac": "4.0.0-beta5-90", "Hangfire": "1.5.0-beta2", "Hangfire.SqlServer": "1.5.0-beta2", "Hangfire.Autofac": "1.2.0-beta1",
When I try to setup Autofac in my Startup.cs file:
I get the follow error:
The type 'ILifetimeScope' is defined in an assembly that is not referenced. You must add a reference to assembly 'Autofac, Version=184.108.40.2062, Culture=neutral, PublicKeyToken=17863af14b0044da'.
If I remove the package
Hangfire.Autofac and copy the classes locally into my solution it works just fine.
Hangfire.Autofac not allowing the 4.0 beta version of Autofac? Using this is requirement for me as I’m using ASP.NET 5 beta for my project.