instalé EntityFramework.SqlMigrations NuGet Package y recibo este error. me funcionó en el pasado y de alguna manera, ahora no funciona.update-database error - NuGet Package (EntityFramework.SqlMigrations)
PM> update-database
The term 'update-database' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:16
+ update-database <<<<
+ CategoryInfo : ObjectNotFound: (update-database:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
simplemente reiniciar funcionó para mí, así que definitivamente intente ese primer – Quesi
+1, reiniciando hizo el truco, por lo que parece que 'Update-Package EntityFramework' no es necesario. –
Creo que las personas experimentan dos problemas diferentes que se manifiestan de la misma manera. Algunas personas realmente necesitan forzar una actualización del paquete (soluciones mal administradas extraídas del control de fuente con artefactos EF perdidos, por ejemplo) y otras están encontrando un error donde la consola PM no inicia adecuadamente los módulos EF/cmdlets. –