Rider doesn't have EF as an option in tools

Viewed 5866

I am trying to add a migration to my MVC NET.Core project

https://blog.jetbrains.com/dotnet/2018/04/06/entity-framework-support-rider-2018-1/ shows

After installing the EntityFramework NuGet package, we can initialize Entity Framework in our project from the project context menu, under Tools | Entity Framework | Initial setup.

JetBrains Rider enable-migrations for ASP.NET MVC on mac actually points out you have to right click on the project and choose tools.

However, I don't have the option

enter image description here

More research and it shows how I can do this via the terminal in Rider. https://blog.jetbrains.com/dotnet/2017/08/09/running-entity-framework-core-commands-rider/

This is where I think the problem might be (or the following is a red herring)

In the terminal, I CD into my project. I enter dotnet restore and it completes

I then type dotnet ef and I'm told

Could not execute because the specified command or file was not found.

I am totally baffled why this is the case.

I have a work around - it works perfectly in Visual Studio, but I'm trying to learn another IDE and would like to get past this

Any thoughts? Ultimately, the best option is to have the Tools > EF option in rider.

1 Answers
Related