-->

ERROR: EntityFramework.dll not found after I insta

2019-09-01 02:21发布

问题:

How can I resolve this error? I have added the Entity Framework 6.1.3 from this link: Download EntityFramework 6.1.3 for Visual Studio 2013 (after uninstalling and re-installing it again and again)

Now that it has been added and in the project created a .emdx file using ADO.NET Entity Data Model. When I try to build it, the following error pops:

EntityFramework.dll not found (after Compilation)

回答1:

Don't uninstall the Visual Studio. Installing the Entity Framework 6 Tools for Visual Studio, only makes it possible to use EF features in the VS IDE.

To use EF in your application install the NuGet Package for EF:

Install-Package EntityFramework

The EntityFramework.dll and EntityFramework.SqlServer.dll are added to your solution.