Search code examples
entity-framework-coremigrationjetbrains-iderider

How can use Ef Core Migration for JetBrains Rider


I'm using JetBrains Rider IDE. I want use code first but I can't find Package Manager Console in JetBrains Rider. I want to work on EF Core.


Solution

  • Package Manager Console is a feature of Visual Studio. You cannot use these tools in Rider.

    You need to install an extension to the dotnet CLI instead:

    dotnet tool install --global dotnet-ef
    

    Then you can execute commands using dotnet ef.

    Here is the documentation: https://learn.microsoft.com/en-us/ef/core/cli/dotnet