[asp.net mvc] trying to enable migrations but receiving message “No context type was found in the assembly”. tried a few things to no avail

im following along with a course and have no .net or entity framework experience. here is a screen shot of the models folder which i am lead to believe is where the context should be based on solutions from other places on the internet.

https://imgur.com/a/rBLf4mr

i have tried to make a MyDBContext class in the model folder, but that didnt work. what should i do?

edit: i hope this screen shot is not against the rules, the screenshot here is to show what is in my models folder and to show the error messages in the package manager console.

submitted by /u/akguitar
[link] [comments]

Leave a Reply