Mac上用于ASP.NET MVC的JetBrains Rider启用迁移 [英] JetBrains Rider enable-migrations for ASP.NET MVC on mac

查看:253
本文介绍了Mac上用于ASP.NET MVC的JetBrains Rider启用迁移的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在macOS Mojave上安装了JetBrains Rider 2018.3.我创建了一个ASP.NET MVC项目,安装了实体框架6.2.我将连接字符串添加到web.config.但是,我不知道如何配置app.config.我想为此项目启用迁移以连接到Microsoft SQL Server.我用谷歌搜索并找到此链接 Rider中的实体框架支持.但是,我找不到工具|实体框架|初始设置.我想知道您是否可以帮助我解决这个问题.

I have JetBrains Rider 2018.3 on macOS Mojave. I created an ASP.NET MVC project, installed entity framework 6.2. I added the connection string to web.config. But, I don't know how to configure app.config. I want to enable-migrations for this project to connect to the Microsoft SQL Server. I googled it and found this link Entity Framework Support in Rider. However, I am not able to find Tools | Entity Framework | Initial setup. I was wondering if you could help me to solve this issue.

推荐答案

发布问题后,我再次阅读了链接.我注意到我错过了项目上下文菜单.我右键单击项目名称,然后找到工具".

After I have posted the question I read the link again. I noticed I missed the point project context menu. I right clicked on project name and I found Tools.

这篇关于Mac上用于ASP.NET MVC的JetBrains Rider启用迁移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆