I implemented the RoleProvider class, there I created a domain class object that is in another assembly, my assembly has a link to this one.
Error 3 The type "System.Data.Entity.DbContext" is defined in an assembly that is not referenced. You must add a reference to the 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?
, Nuget nuget Entity o = ,
Install-Package EntityFramework .
1) Entity
2) Visual Studio
3) Entity Framework
I also found that if you said the console application as the main project, when starting the unit test project, this error will occur, if you do not have a link to EntityFramework on the unit test, you will also get this error.
tags - html