0

I am following this tutorial to create .edmx file using a Database First Approach (using Add->NewItem-> ADO.NET Entity Data Model)

When I enter into the Entity Data Model Wizard, I don't see any option like EF Designer from database.

To resolve this, I installed EFTools from this link, but after installing it I see things working fine till the .edmx is generated. The following problem arose when i try to build the project.

Problem

After compiling/building, I see this error:

EntityFramework.dll could not be found 
halfer
  • 19,824
  • 17
  • 99
  • 186
Asif Mehmood
  • 964
  • 2
  • 14
  • 35
  • Did you add reference to EF in your project? – Turo Dec 17 '15 at 07:06
  • 1
    Any chance you have VS installed to a non-default location, for instance somewhere on D: drive? If so, look at this post: http://stackoverflow.com/questions/19664833/metadata-file-not-found-data-entity-model – David Tansey Dec 17 '15 at 07:07
  • I've searched the location C:/......Common7/IDE/, their is no such file named as EntityFramework.dll . kindly guide what to do now ?@DavidTansey ? – Asif Mehmood Dec 17 '15 at 07:13
  • @Turo thanks, but i don't have a EntityFramework.dll file in the installation location (given in above comment), so first i'll have to add it but how. – Asif Mehmood Dec 17 '15 at 07:14

2 Answers2

1

I downloaded and ran Entity Framework tools for visual studio 2013 and it appeared. https://www.microsoft.com/en-us/download/details.aspx?id=40762

Kumaran PC
  • 11
  • 1
0

The problem was that i uninstalled the Entity-Framework Tool, following the Stack-Overflow Question/Answers mentioned below:

☒ Don't follow this link if you want to add EFTools ☒

Now, that i installed EFTools using EFTools.msi after uninstalling ( using EFTools.msi ), its path changes from the original one so follow this solution:

☑ Follow the Accepted Answer of this Link ☑

Community
  • 1
  • 1
Asif Mehmood
  • 964
  • 2
  • 14
  • 35