本文介绍了实体框架未在Mac上的Rider中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我才刚刚开始学习Asp.Net,并将Mac上的Rider用作我的IDE.我正在尝试启用迁移,但是在项目上下文菜单下的工具中看不到实体框架"选项.以下是图像的链接:

So I am just starting to learn Asp.Net and am using Rider on Mac as my IDE. I'm am trying to enable migrations, however, I don't see Entity Frameworks option in tools under project context menu. Below is the link to the image:

我想知道你们中是否有人遇到过这个问题?如果是这样,您做了什么修复?

I was wondering if any of you have encountered this issue? If so, what did you do to fix it?

推荐答案

根据您的屏幕截图,您已经安装了核心EF NuGet.但是您的项目是经典的.请尝试安装标准的EntityFramework NuGet软件包.

According to your screenshot, you've installed core EF NuGet. But your project is a classic one. Please, try installing the standard EntityFramework NuGet package.

此外,以下资源可能会有所帮助

Also, the following resources might be helpful

  1. https://blog.jetbrains.com/dotnet/2018/04/06/entity-framework-support-rider-2018-1/
  2. https://youtrack.jetbrains.com/issue/RIDER-435#focus=streamItem-27-2810865.0-0
  3. https://blog.jetbrains.com/dotnet/2017/08/09/running-entity-framework-core-commands-rider/

这篇关于实体框架未在Mac上的Rider中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 07:57