EF Core not creating migrations
The title says it all. I'm running
Add-Migration
on Visual Studio 2022, but I'm stuck on the output:
And there it is. No migration is created. The console get stucked on this last message and no migration file is generated. I'll attach my model and dbcontext here.7 Replies
https://gist.github.com/CypherPotato/51ccf17896d02a3f16da3d1c2bb07785
I'm currently on .NET 9 and EF Core 9.0.0 with Sqlite
Have you tried
On the project?
First guess is you're active context in VS is a different project if you have multiple
It's a solution with only one project on it
Yea, I tried.
Just tested in another project, it worked normally
Oh that looks frozen...
Idr the verbosity settings but there should be a way to set to higher for better logging
@lycian just ran the command with
-verbose
flag and this was the output:
it get stuck under this last line "Using environment"...
nvm i'm going to use petapoco