The term 'add-migration' is not recognized as the name of a cmdlet

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] if you are facing an error that the term adding migration is not recognized then you simply have to add a and you get package in the project to download the package right click on the project in the solution explorer and select manage and you get packages click on the browse tab and search microsoft dot entity framework core dot tools select this package and click on install press ok press i accept [Music] the package is installed now you can run the migration [Music] so [Music] migration completed successfully now you can write the command to update the database before you update the database you can check what changes will be made in the database in this file which opens automatically after migration runs now run the database update command it will take some time the database is now updated for more informative videos subscribe to the channel
Info
Channel: Dex Code Lab
Views: 4,081
Rating: undefined out of 5
Keywords: fix migration problem, how to do migration in asp.net core, asp.net core migration, how to install package, visual studio 2022, code first, Microsoft.EntityFrameworkCore.Tools
Id: 90icHRimoj8
Channel Id: undefined
Length: 2min 17sec (137 seconds)
Published: Sun Jun 26 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.