Click here to Skip to main content
15,900,815 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Enable-Migrations -ContextTypeName mvcSample.Models.Cart
i enabled migrations for cart.cs.migration folder with configuration is generated

error in updation.i tried 

Update-Database -configuration  mvcSample.Models.Cart

and error is:The project 'mvcSample' failed to build.

please reply me
Posted

1 solution

Check the below page for details:

DataBase Update error in Entity framework.[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900