简体   繁体   English

带有13的Entity Framework 5.0

[英]Entity Framework 5.0 with vs 13

There is an issue with my visual studio. 我的视觉工作室有问题。 When i try to generate the edmx file it does all the process very well. 当我尝试生成edmx文件时,它会很好地完成所有过程。 But as soon as i try to build the solution it throws so many errors. 但是,一旦我尝试构建解决方案,就会引发很多错误。 I am not sure if this issue is with visual studio orentity framework. 我不确定这个问题是否与Visual Studio Orentity框架有关。

Please check the image i have attached, and the errors as well. 请检查我附带的图像以及错误。 在此处输入图片说明

Here are the errors.. 这是错误。

Error 7 A using namespace directive can only be applied to namespaces; 错误7使用名称空间指令只能应用于名称空间;不能使用名称空间指令。 'System' is a type not a namespace “系统”是类型而不是名称空间

Error 73 The type or namespace name 'DbContext' could not be found (are you missing a using directive or an assembly reference?) 错误73找不到类型或名称空间名称'DbContext'(您是否缺少using指令或程序集引用?)

There are so many errors. 有这么多错误。

Please help 请帮忙

尝试清除解决方案根目录中“ .vs”文件夹的内容

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM