-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
I'm trying to use AddCustomIdentity() and I'm getting this error when run the add migration command.
No DbContext named 'NetDevPackAppDbContext' was found.
File IdentityConfig.cs
services.AddIdentityEntityFrameworkContextConfiguration(options =>
options.UseSqlServer(configuration.GetConnectionString("DefaultConnection"),
b => b.MigrationsAssembly("Equinox.Infra.CrossCutting.Identity")))
.AddCustomIdentity<ApplicationUser>();
ApplicationUser.cs
public class ApplicationUser : IdentityUser
{
public string FirstName { get; set; }
public string LastName { get; set; }
}
biproberkay and alexandretperez
Metadata
Metadata
Assignees
Labels
No labels