我已經實現了RoleProvider類,在那裏我創建了另一個程序集中的Domain類對象,我的程序集有一個引用。引用匯編錯誤
錯誤3類型'System.Data.Entity.DbContext'在沒有引用的 程序集中定義。您必須添加對組件 的引用'EntityFramework,Version = 6.0.0.0,Culture = neutral, PublicKeyToken = b77a5c561934e089'。 d:\的Visual Studio 2013 \集團 06 \ G06_Store \ Store.Facade \ StoreRoleProvider.cs 17 24 Store.Facade
我怎樣才能解決這個問題?
在項目中添加EntityFramework的引用。 – Sachin
我有我的項目中的nuget包 –
這裏是你的解決方案:http://stackoverflow.com/questions/19064449/the-type-system-data-entity-dbcontext-is-defined-in-an-assembly- that-is-not-re –