Reputation: 25583
After install EF 5.0, it said:
Successfully installed 'EntityFramework 5.0.0-rc'. Successfully added 'EntityFramework 5.0.0-rc' to MyWeb.
but my solution has many projects, not only the web project. For example, I have a project MyData which is referenced by MyyWeb. How can use use EF 5.0 in MyData project?
Upvotes: 1
Views: 1494
Reputation: 30425
Install the package into each project that needs it. You can do this by right-clicking on each project and selecting Manage packages, or by using the Default Project drop-down inside of the Package Manager Console.
Upvotes: 1