0
ShaneFryer4184 created
I have created many modules in asp.net zero with Angular 4 & .net core. Now to have backup, I archived the solution & cloned code into new repository. I changed the database name & then did Update-database which created a new db. But now I have created new class, for which I deleted old migrations & did Add-Migration. But getting the following error : "An error occurred while calling method 'ConfigureServices' on startup class 'Startup'. Consider using IDbContextFactory to override the initialization of the DbContext at design-time." I tried many options seeing net, but there is not much help. Can you help plz ?
2 Answer(s)
-
0
Thanks ... I have solved it.
-
0
Thanks for the feedback @ShaneFryer4184.