Does Rider support EF Core commands by project context menu?

For .NET Framework 4.8 it was enough to install 'EntityFramework' package. For .NET 6 I don't see that menu.

If this is not supported, are there any plans to add support for that?

WebApplication1.csproj

<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<DockerDefaultTargetOS>Windows</DockerDefaultTargetOS>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.Design" Version="1.1.6" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
2 comments
Comment actions Permalink

I'm not sure at all (but would like to know), but I "think" that it might not be currently supported with SDK csproj. I still have some ASP.NET 4 projects which don't support SDK .csproj, and those are the only ones that get an "EntityFramework" option in the menu. All of my other 250+ SDK .csproj files, many of which use EF6 or EF Core, have no EntityFramework options at all.

0

Please sign in to leave a comment.