简体   繁体   English

实体框架未包含在参考中

[英]Entity Framework not included in references

I am developing an ASP.NET MVC project with EF code-first in C#. 我正在用C#中的EF代码优先开发ASP.NET MVC项目。 I have a data access layer. 我有一个数据访问层。 I am adding Entity Framework from nuget. 我正在从nuget添加实体框架。 It looks loaded but is not included in the references. 它看起来已加载,但未包含在参考中。 What could be the reason for this? 这可能是什么原因?

Have you tried these steps? 您是否尝试过这些步骤?

  1. In Solution Explorer, right-click the project node and click Add Reference. 在解决方案资源管理器中,右键单击项目节点,然后单击“添加引用”。
  2. In the Add Reference dialog box, select the tab indicating the type of component you want to reference. 在“添加引用”对话框中,选择指示您要引用的组件类型的选项卡。
  3. Select the components you want to reference, and then click OK. 选择要引用的组件,然后单击“确定”。

I hope it is relevant to your issue. 我希望这与您的问题有关。

Regards 问候

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM