I am building a web application using VS 2012 MVC4 code first. In order to recreate the .mdf file after I changed the model, I manually deleted the file from th
.mdf
That what fixed it for me, From Package Manager Console run these commands:
sqllocaldb.exe stop v11.0 sqllocaldb.exe delete v11.0
And then:
Update-Database