【发布时间】:2015-07-16 13:06:54
【问题描述】:
我在我的项目中创建了一个基于 SQL Server Table 的实体模型。我在按钮单击时编写获取操作。当我第一次打开页面时,它对我来说工作正常。但是在按钮单击时出现以下错误:
Could not load file or assembly 'EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
我试过了
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
在 app.config 中,但它不能解决问题。
【问题讨论】: