I can't seem to get the correct and matching packages.
I ported a project from Asp.Net MVC 5 / EF 6 to MVC 6 with EF Core 7 and have been in package hell. Conflicting packages, errors,...
It's probably down to all the different packages that are available, I've tried all newest version, all oldest version, can't seem to get a working version however. The closest I got was this :
http://pastebin.com/nuQNpwnc
But on debug I get this error in my browser:
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).
I also tried updating all packages to the last ones:
But it doesn't even get past Program - Main with the following error
Additional information: Methode not found: Microsoft.AspNetCore.Hosting.IWebHostBuilder Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions.CaptureStartupErrors(Microsoft.AspNetCore.Hosting.IWebHostBuilder, Boolean).
I've tried solving those errors one by one, that got me the first project.json, but now I'm just lost.. I've been at this for hours, and it just doesn't want to work. I'm sure it's due to incompatibility of certain packages, but I have no clue as to where to find the correct ones..