I think your EntityFramework
version was confused
Please download the correct version by using the NuGet
package installer.
See this discussion for getting started: The type or namespace name ‘DbContext’ could not be found
And look this same problem and Answer : is Here