Shared design-time components for Entity Framework Core tools.
$ dotnet add package Microsoft.EntityFrameworkCore.DesignThe Entity Framework Core tools help with design-time development tasks. They're primarily used to manage Migrations and to scaffold a DbContext and entity types by reverse engineering the schema of a database.
The Microsoft.EntityFrameworkCore.Design package is required for either command-line or Package Manager Console-based tooling, and is a dependency of dotnet-ef and Microsoft.EntityFrameworkCore.Tools.
Install the package into your project and then use either dotnet-ef or Microsoft.EntityFrameworkCore.Tools.
By default, the package will install with PrivateAssets="All" so that the tooling assembly will not be included with your published app. For example:
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
See Getting started with EF Core for more information about EF NuGet packages, including which to install when getting started.
If you encounter a bug or issues with this package,you can open an Github issue. For more details, see getting support.