配置文件中的实体框架版本错误 [英] Entity Framework version error in config file

查看:63
本文介绍了配置文件中的实体框架版本错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尽管我尝试构建Silverlight应用程序,但遇到一些错误.我在Google上搜索了很多,但最终无法找到解决方案,所以请帮助我

错误1:

While I try to build the silverlight application,facing some errors. I googled a lot but i could''nt end up with the solution so please help me

Error 1:

Error	11	The type ''System.Data.Entity.DbContext'' is defined in an assembly that is not referenced. You must add a reference to assembly ''EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089''.


我试图更改app.config文件中的版本.
即使更改此错误后仍然存在.

错误2:


I tried to change the version in my app.config file.
Even after changing this error persist.

Error 2:

Error	7	Error 175: The specified store provider cannot be found in the configuration, or is not valid.



关于问候
R.K.



With regards
R.K.

推荐答案

我通过向应用程序添加相应的引用来解决了第一个错误.

我只是将EntityFramework.dll添加到我的应用程序中并构建了相同的文件.
第一个错误已清除.
I solved the first error by adding the respective reference to the application.

I just added EntityFramework.dll to my application and build the same.
The first error is cleared.


这篇关于配置文件中的实体框架版本错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆