I am working with ASP.NET core 2.0 console application
I am on entity framework core 2.0 and I am having error
'SchoolContext.OnConfiguring(DbContextOptionsBuilder)': no suitable method found to override
And
I can't find my project.json file
there's lot of solution to work out with project.json file
but i don't see it anywhere
I am stuck for 3 hours now
there's a link I have been following
http://www.entityframeworktutorial.net/efcore/entity-framework-core-console-application.aspx
DbContextOptionsBuilder
class instead of using from Microsoft.EntityFrameworkCore namespace learn.microsoft.com/en-us/ef/core/api/…. Can you please confirm whatDbContextOptionsBuilder
file contains? If has the class then delete it.OnConfiguring
to override