ERROR: EntityFramework.dll not found after I insta

2019-09-01 02:04发布

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条回答
祖国的老花朵
2楼-- · 2019-09-01 03:04

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.

查看更多
登录 后发表回答