I have a previous created project from "ASP.NET Core: Security" LinkedIn Learn Course ( https://1drv.ms/u/s!Ap1TSQ4qoVyxgrImtb6ZFwZXQGW2BA ) and in this project already exists the Migrations Migrations Folder Screenshot folder that represents the objects that will be create in data base when executed the command Update-Database -Context "IdentityDbContext". The problem Is that when I execute the command in Package Manager Console I have no return and the data base is not created.
I tried to update the project to .net 2.2. I also tried with another database.
The entire project is here: https://1drv.ms/u/s!Ap1TSQ4qoVyxgrImtb6ZFwZXQGW2BA
I have no error or feedback from visual studio when the command is executed.
I ran dotnet --list-sdks and realized that I didn't have .NET Core SDK 1.1 installed in my machine.
I Installed it and ran Update-Database -Context "IdentityDbContext" again with success.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.