0
votes

Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'DbContextAttribute' could not be found (are you missing a using directive or an assembly reference?) Hotel C:\Users\Adis\source\repos\webapp\Hotel\Hotel\Migrations\20200625154358_firstOne.Designer.cs 12 Active

I have problem with designer.cs file, some files are deleted from my device, after that i can't build my project. Anyone have idea what to do ? Thanks.

1
Do you know which files were deleted? - sbkrogers

1 Answers

0
votes

Try uninstalling (if installed) EntityFramework and re-installing. Failing that, please post what references you currently have.