Unable to create an object of type ‘[DBContext’s Name]’. For the different patterns supported at design time [closed]

1- Make sure to set your web project as Set as Startup Project

2- In Package Manager Console, set your data access layer (if any) as a default project

3- Then run the command again

Leave a Comment