mrahhal / MR.AspNetCore.Jobs

A background processing library for Asp.Net Core.
MIT License
59 stars 9 forks source link

.NET Core 2.0 compatibility #5

Closed razzemans closed 7 years ago

razzemans commented 7 years ago

Do you have plans making this compatible with .NET Core 2.0? I get the error:

Application startup exception: System.MissingMethodException: Method not found: 'Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.AddDbContext(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Action`1<Microsoft.EntityFrameworkCore.DbContextOptionsBuilder>, Microsoft.Extensions.DependencyInjection.ServiceLifetime)'.

when calling

services.AddJobs(options =>
            {
                options.UseSqlServer(Configuration.GetConnectionString("JobsConnection"));
            });
mrahhal commented 7 years ago

I do. I am preparing for a 0.8 release that supports aspnetcore 2.0. Should be out soon.

I'll close this issue when I release a package so that you can be notified.

razzemans commented 7 years ago

Thanks!