I have upgraded my code from ASP.NET Core 2.0 to Core 2.1. I created a new Core 2.1 project and moved my code into the new project. I have provided samples of my startup and
Try changing public partial class ApplicationDbContext : IdentityDbContext to public partial class ApplicationDbContext : IdentityDbContext
public partial class ApplicationDbContext : IdentityDbContext
Compiler will generate DbSet with the type provided to generic IdentityDbContext class.
IdentityDbContext