我已经实现了RoleProvider类中,有我创建的域类对象,它是在另一个程序集,我的组件具有引用的那一个。
I've implemented the RoleProvider class, there I created Domain class object which is in another assembly, my assembly has a reference to that one.
错误3类型System.Data.Entity.DbContext'是一个定义 未引用的程序集。您必须添加一个引用组件 的EntityFramework,版本= 6.0.0.0,文化=中立, 公钥= b77a5c561934e089。 D:的Visual Studio 2013 组 06 G06_Store Store.Facade StoreRoleProvider.cs 17 24 Store.Facade
Error 3 The type 'System.Data.Entity.DbContext' is defined in an assembly that is not referenced. You must add a reference to assembly 'EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. D:Visual Studio 2013Group 06G06_StoreStore.FacadeStoreRoleProvider.cs 17 24 Store.Facade
我该如何解决这个问题?
How can I fix this error?
推荐答案
打开Visual Studio,并转到工具栏开放的NuGet包管理系统和开放的NuGet包管理器控制台,安装实体框架刚刚过去的这个O =在控制台窗口中,
open visual studio and go to tools bar open Nuget package manager and open nuget package manager console and install Entity framework just past this o=in the console window,
安装,包装的EntityFramework它会为你工作。
Install-Package EntityFramework it will work for you.
相关推荐
最新文章