I have a local database that is currently in it\'s second version and should now go to it\'s third version.
The code for the previous migrations was generated by ano
In my case, I was encountering similar problems with Visual Studio Code.
I have fixed these by doing the following:
ContextModelSnapshot : ModelSnapshotdbo.__EFMigrationsHistory tabledotnet ef migrations add migrationName -p ProjectContainer/
dotnet watch run