JetBrains Rider enable-migrations for ASP.NET MVC on mac

[亡魂溺海] 提交于 2021-01-28 03:10:28

问题


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.


回答1:


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.




回答2:


When you're done adding the EntityFramework nuget package, just right-click on the project, and use the Entity Framework options available. See my screenshot below.



来源:https://stackoverflow.com/questions/54135137/jetbrains-rider-enable-migrations-for-asp-net-mvc-on-mac

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