You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to run command migration DB but i have an issue when i run command:
dotnet ef migrations add InitialCreate
output :
Build started...
Build succeeded.
Unable to create a 'DbContext' of type ''. The exception 'Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContextOptions`1[Authentication.Infra.Data.ApplicationDbContext]' while attempting to activate 'Authentication.Infra.Data.ApplicationDbContext'.' was thrown while attempting to create an instance. For the different patterns supported at design time
could you answer me if i had wrong in some step, and could you add a guideline to run migrationDB in readme.md
Thank you so much !!!
The text was updated successfully, but these errors were encountered:
I try to run command migration DB but i have an issue when i run command:
dotnet ef migrations add InitialCreate
output :
Build started...
Build succeeded.
Unable to create a 'DbContext' of type ''. The exception 'Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContextOptions`1[Authentication.Infra.Data.ApplicationDbContext]' while attempting to activate 'Authentication.Infra.Data.ApplicationDbContext'.' was thrown while attempting to create an instance. For the different patterns supported at design time
could you answer me if i had wrong in some step, and could you add a guideline to run migrationDB in readme.md
Thank you so much !!!
The text was updated successfully, but these errors were encountered: