ERROR: EntityFramework.dll not found after I installed Entity Framework 6.1.3

落爺英雄遲暮 提交于 2020-01-06 12:13:10

问题


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.



来源:https://stackoverflow.com/questions/34308031/error-entityframework-dll-not-found-after-i-installed-entity-framework-6-1-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!