Reference to assembly error

.net asp.net c# entity-framework

Question

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.

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 2013\Group 06\G06_Store\Store.Facade\StoreRoleProvider.cs 17 24 Store.Facade

How can I fix this error?

1
5
1/17/2014 2:39:24 PM

Popular Answer

open visual studio and go to tools bar open Nuget package manager and open nuget package manager console and install Entity framework just paste this into the console window:

Install-Package EntityFramework
7
6/13/2018 12:56:43 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow