It\'s a very small code-first EF6 Project. I added a migration and updated a database successfully. Here\'s the output:
PM> update-database -Verbose
Firstly: You are using the Master database. Check this post to know how to set your connection string: Cant find my EF code first database.
Secondly: You didn't connect to SQLEXPRESS
:
In your Server Explorer click on Connect to Database.
Then in the Server name type .\sqlexpress
Then Test Connection.
then in the Select or enter a database name you should get your database.