NuGet Package Manager Console Support


Rider was able to load up my workplace project without changes, but it lacks support for the NuGet Package Manager Console. We use this console to handle Code First migrations in Entity Framework. It would be great if Rider provided similar functionality.


I hadn't realized this was missing until today when I tried to create a new EF migration. We use the console to execute the `Add-Migration` and `Update-Database` commands. Does Rider offer an alternative for this?


Unfortunately, It is not possible we do it in current release. Please vote this issue

@Dwilches, is it possible to do the same by editing csproj directly? (F4 on project in SolutionExplorer)

Other possibility for dotnetcore projects would be calling dotnet cli
Not sure if it will work on non-windows thou.


There is workaround/solution for getting EF Core Tools i Rider's terminal. You need manually add in your .csproj file following section:

<DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.1" />

After it you need to go to Terminal in Rider and change working directory in terminal to your project's directory and run dotnet restore. After it you should be able to run EF command in terminal but in slightly different way than in VS package manager console. To get help try to run dotnet ef --help in Terminal.



Please sign in to leave a comment.