Microsoft.EntityFrameworkCore.Design 8.0.20

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.EntityFrameworkCore.Design --version 8.0.20
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore.Design -Version 8.0.20
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.20">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.20" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.EntityFrameworkCore.Design">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.EntityFrameworkCore.Design --version 8.0.20
                    
#r "nuget: Microsoft.EntityFrameworkCore.Design, 8.0.20"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.EntityFrameworkCore.Design@8.0.20
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.EntityFrameworkCore.Design&version=8.0.20
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore.Design&version=8.0.20
                    
Install as a Cake Tool

The 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.

Usage

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>

Getting started with EF Core

See Getting started with EF Core for more information about EF NuGet packages, including which to install when getting started.

Feedback

If you encounter a bug or issues with this package,you can open an Github issue. For more details, see getting support.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (591)

Showing the top 5 NuGet packages that depend on Microsoft.EntityFrameworkCore.Design:

Package Downloads
Microsoft.EntityFrameworkCore.Tools

Entity Framework Core Tools for the NuGet Package Manager Console in Visual Studio. Enables these commonly used commands: Add-Migration Bundle-Migration Drop-Database Get-DbContext Get-Migration Optimize-DbContext Remove-Migration Scaffold-DbContext Script-Migration Update-Database

Microsoft.VisualStudio.Web.CodeGenerators.Mvc

Code Generators for ASP.NET Core MVC. Contains code generators for MVC Controllers and Views.

Microsoft.VisualStudio.Web.CodeGeneration.Design

Code Generation tool for ASP.NET Core. Contains the dotnet-aspnet-codegenerator command used for generating controllers and views.

Microsoft.VisualStudio.Web.CodeGeneration

Contains the CodeGenCommand that finds the appropriate code generator and invokes it from project dependencies.

Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore

Contains Entity Framework Core Services used by ASP.NET Core Code Generators.

GitHub repositories (529)

Showing the top 20 popular GitHub repositories that depend on Microsoft.EntityFrameworkCore.Design:

Repository Stars
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
dotnet/aspnetcore
ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 9
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10 RC 1, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
bchavez/Bogus
:card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
Kareadita/Kavita
Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
RayWangQvQ/BiliBiliToolPro
B 站(bilibili)自动任务工具,支持docker、青龙、k8s等多种部署方式。敏感肌也能用。
MassTransit/MassTransit
Distributed Application Framework for .NET
btcpayserver/btcpayserver
Accept Bitcoin payments. Free, open-source & self-hosted, Bitcoin payment processor.
EduardoPires/EquinoxProject
Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
fullstackhero/dotnet-starter-kit
Production Grade Cloud-Ready .NET 9 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
graphql-dotnet/graphql-dotnet
GraphQL for .NET
danielgerlag/workflow-core
Lightweight workflow engine for .NET Standard
aspnet/Mvc
[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to https://github.com/aspnet/AspNetCore
jasontaylordev/NorthwindTraders
Northwind Traders is a sample application built using ASP.NET Core and Entity Framework Core.
umbraco/Umbraco-CMS
Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
Version Downloads Last Updated
10.0.0-rc.1.25451.107 2,107 9/9/2025
10.0.0-preview.7.25380.108 11,956 8/12/2025
10.0.0-preview.6.25358.103 8,671 7/15/2025
10.0.0-preview.5.25277.114 12,693 6/6/2025
10.0.0-preview.4.25258.110 7,881 5/12/2025
10.0.0-preview.3.25171.6 8,418 4/10/2025
10.0.0-preview.2.25163.8 5,896 3/18/2025
10.0.0-preview.1.25081.1 7,114 2/25/2025
9.0.9 158,483 9/9/2025
9.0.8 2,194,464 8/5/2025
9.0.7 1,911,739 7/8/2025
9.0.6 2,803,927 6/10/2025
9.0.5 3,330,427 5/13/2025
9.0.4 4,648,275 4/8/2025
9.0.3 4,087,134 3/11/2025
9.0.2 4,485,604 2/11/2025
9.0.1 5,273,907 1/14/2025
9.0.0 8,930,586 11/12/2024
9.0.0-rc.2.24474.1 131,747 10/8/2024
9.0.0-rc.1.24451.1 80,329 9/10/2024
9.0.0-preview.7.24405.3 34,537 8/13/2024
9.0.0-preview.6.24327.4 30,672 7/9/2024
9.0.0-preview.5.24306.3 32,200 6/11/2024
9.0.0-preview.4.24267.1 27,706 5/21/2024
9.0.0-preview.3.24172.4 131,223 4/11/2024
9.0.0-preview.2.24128.4 38,288 3/12/2024
9.0.0-preview.1.24081.2 65,592 2/13/2024
8.0.20 37,375 9/9/2025
8.0.19 655,376 8/5/2025
8.0.18 500,290 7/8/2025
8.0.17 1,577,656 6/10/2025
8.0.16 1,317,327 5/13/2025
8.0.15 1,951,220 4/8/2025
8.0.14 2,564,299 3/11/2025
8.0.13 2,619,708 2/11/2025
8.0.12 2,920,109 1/14/2025
8.0.11 11,483,780 11/12/2024
8.0.10 14,268,692 10/8/2024
8.0.8 16,672,875 8/13/2024
8.0.7 10,348,025 7/9/2024
8.0.6 11,549,073 5/28/2024
8.0.5 4,484,093 5/14/2024
8.0.4 12,361,714 4/9/2024
8.0.3 7,367,154 3/12/2024
8.0.2 9,621,226 2/13/2024
8.0.1 7,902,888 1/9/2024
8.0.0 18,723,004 11/14/2023
8.0.0-rc.2.23480.1 114,954 10/10/2023
8.0.0-rc.1.23419.6 73,102 9/12/2023
8.0.0-preview.7.23375.4 40,227 8/8/2023
8.0.0-preview.6.23329.4 59,639 7/11/2023
8.0.0-preview.5.23280.1 136,314 6/13/2023
8.0.0-preview.4.23259.3 66,998 5/16/2023
8.0.0-preview.3.23174.2 99,919 4/11/2023
8.0.0-preview.2.23128.3 48,247 3/14/2023
8.0.0-preview.1.23111.4 95,231 2/21/2023
7.0.20 2,212,072 5/28/2024
7.0.19 333,659 5/14/2024
7.0.18 876,485 4/9/2024
7.0.17 810,765 3/12/2024
7.0.16 1,232,582 2/13/2024
7.0.15 1,620,697 1/9/2024
7.0.14 3,448,033 11/14/2023
7.0.13 4,486,105 10/24/2023
7.0.12 2,559,035 10/10/2023
7.0.11 7,032,453 9/12/2023
7.0.10 5,744,039 8/8/2023
7.0.9 6,386,556 7/11/2023
7.0.8 3,528,947 6/22/2023
7.0.7 1,779,162 6/13/2023
7.0.5 12,282,267 4/11/2023
7.0.4 5,667,671 3/14/2023
7.0.3 6,494,467 2/14/2023
7.0.2 8,375,896 1/10/2023
7.0.1 4,596,815 12/13/2022
7.0.0 6,283,414 11/7/2022
7.0.0-rc.2.22472.11 110,714 10/11/2022
7.0.0-rc.1.22426.7 54,725 9/14/2022
7.0.0-preview.7.22376.2 43,232 8/9/2022
7.0.0-preview.6.22329.4 38,605 7/12/2022
7.0.0-preview.5.22302.2 29,617 6/14/2022
7.0.0-preview.4.22229.2 39,876 5/10/2022
7.0.0-preview.3.22175.1 57,492 4/13/2022
7.0.0-preview.2.22153.1 31,110 3/14/2022
7.0.0-preview.1.22076.6 26,387 2/17/2022
6.0.36 888,762 11/12/2024
6.0.35 397,254 10/8/2024
6.0.33 1,401,627 8/13/2024
6.0.32 370,218 7/9/2024
6.0.31 508,675 5/28/2024
6.0.30 277,021 5/14/2024
6.0.29 920,705 4/9/2024
6.0.28 808,449 3/12/2024
6.0.27 792,797 2/13/2024
6.0.26 1,168,561 1/9/2024
6.0.25 1,844,964 11/14/2023
6.0.24 899,968 10/24/2023
6.0.23 696,991 10/10/2023
6.0.22 1,544,672 9/12/2023
6.0.21 1,558,657 8/8/2023
6.0.20 1,568,438 7/11/2023
6.0.19 961,815 6/22/2023
6.0.18 693,032 6/13/2023
6.0.16 4,100,856 4/11/2023
6.0.15 2,084,497 3/14/2023
6.0.14 2,742,851 2/14/2023
6.0.13 3,790,993 1/10/2023
6.0.12 4,033,445 12/13/2022
6.0.11 4,953,795 11/7/2022
6.0.10 9,005,141 10/11/2022
6.0.9 7,834,393 9/13/2022
6.0.8 9,915,319 8/9/2022
6.0.7 16,740,119 7/12/2022
6.0.6 6,877,567 6/14/2022
6.0.5 9,608,265 5/10/2022
6.0.4 7,796,954 4/11/2022
6.0.3 8,190,412 3/8/2022
6.0.2 6,785,569 2/8/2022
6.0.1 11,297,438 12/14/2021
6.0.0 16,810,137 11/8/2021
6.0.0-rc.2.21480.5 113,004 10/12/2021
6.0.0-rc.1.21452.10 81,017 9/14/2021
6.0.0-preview.7.21378.4 73,923 8/10/2021
6.0.0-preview.6.21352.1 26,483 7/14/2021
6.0.0-preview.5.21301.9 85,896 6/15/2021
6.0.0-preview.4.21253.1 53,448 5/24/2021
6.0.0-preview.3.21201.2 49,967 4/8/2021
6.0.0-preview.2.21154.2 20,042 3/11/2021
6.0.0-preview.1.21102.2 43,280 2/12/2021
5.0.17 4,008,447 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 670,561 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 1,014,412 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 1,289,293 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 2,220,421 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 2,300,788 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 4,373,445 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 5,638,713 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 4,856,662 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 4,291,877 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 5,482,711 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 3,905,821 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 5,533,308 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 3,649,453 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 3,674,947 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 4,136,506 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 6,514,741 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 5,003,752 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 109,234 10/13/2020
5.0.0-rc.1.20451.13 124,469 9/14/2020
5.0.0-preview.8.20407.4 49,855 8/25/2020
5.0.0-preview.7.20365.15 44,952 7/21/2020
5.0.0-preview.6.20312.4 39,124 6/25/2020
5.0.0-preview.5.20278.2 30,843 6/10/2020
5.0.0-preview.4.20220.10 37,803 5/18/2020
5.0.0-preview.3.20181.2 49,612 4/23/2020
5.0.0-preview.2.20159.4 32,355 4/2/2020
5.0.0-preview.2.20120.8 17,975 3/16/2020
3.1.32 1,739,577 12/13/2022
3.1.31 244,558 11/8/2022
3.1.30 350,706 10/11/2022
3.1.29 802,194 9/13/2022
3.1.28 246,072 8/9/2022
3.1.27 224,811 7/12/2022
3.1.26 339,291 6/14/2022
3.1.25 459,349 5/10/2022
3.1.24 221,031 4/11/2022
3.1.23 571,973 3/8/2022
3.1.22 1,290,279 12/14/2021
3.1.21 1,183,881 11/7/2021
3.1.20 618,851 10/11/2021
3.1.19 905,268 9/14/2021
3.1.18 1,367,517 8/10/2021
3.1.17 898,310 7/13/2021
3.1.16 1,034,178 6/8/2021
3.1.15 1,110,723 5/11/2021
3.1.14 1,384,697 4/6/2021
3.1.13 1,559,787 3/9/2021
3.1.12 1,529,091 2/9/2021
3.1.11 2,098,818 1/12/2021
3.1.10 3,284,233 11/9/2020
3.1.9 6,149,666 10/13/2020
3.1.8 7,499,126 9/8/2020
3.1.7 4,494,811 8/11/2020
3.1.6 4,958,186 7/14/2020
3.1.5 6,172,303 6/9/2020
3.1.4 6,512,794 5/12/2020
3.1.3 12,786,380 3/24/2020
3.1.2 6,003,258 2/19/2020
3.1.1 5,695,438 1/14/2020
3.1.0 6,686,438 12/3/2019
3.1.0-preview3.19554.8 48,427 11/13/2019
3.1.0-preview2.19525.5 20,590 11/1/2019
3.1.0-preview1.19506.2 745,619 10/15/2019
3.0.3 102,299 2/19/2020
3.0.2 39,986 1/14/2020
3.0.1 712,750 11/18/2019
3.0.0 7,600,508 9/23/2019
3.0.0-rc1.19456.14 32,154 9/16/2019
3.0.0-preview9.19423.6 53,857 9/4/2019
3.0.0-preview8.19405.11 374,169 8/13/2019
3.0.0-preview7.19362.6 37,556 7/23/2019
3.0.0-preview6.19304.10 47,271 6/12/2019
3.0.0-preview5.19227.1 605,032 5/6/2019
3.0.0-preview4.19216.3 10,666 4/18/2019
3.0.0-preview3.19153.1 34,561 3/6/2019
3.0.0-preview.19074.3 19,151 1/29/2019
3.0.0-preview.18572.1 16,599 12/3/2018
2.3.0 12,242 1/14/2025
2.2.6 15,918,839 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 8,790,171 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 2,654,165 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 2,872,682 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 3,372,047 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 13,889,808 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 105,298 10/17/2018
2.2.0-preview2-35157 106,417 9/12/2018
2.2.0-preview1-35029 63,015 8/22/2018
2.1.14 2,394,183 11/18/2019
2.1.11 2,275,245 5/14/2019
2.1.8 2,333,352 2/12/2019
2.1.4 8,150,870 10/1/2018
2.1.3 3,664,829 9/11/2018
2.1.2 2,979,315 8/21/2018
2.1.1 13,484,867 6/18/2018
2.1.0 6,962,563 5/29/2018
2.1.0-rc1-final 65,508 5/6/2018
2.1.0-preview2-final 130,362 4/10/2018
2.1.0-preview1-final 198,710 2/26/2018
2.0.3 4,267,615 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,555,267 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 7,748,139 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 8,262,502 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 74,486 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 36,889 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 244,873 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 216,670 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 63,196 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 85,309 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 1,137,141 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 756,402 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 1,953,429 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 12,069 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.6 23,208 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 15,574 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 25,404 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 574,897 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 18,943 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 640,295 10/17/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0-preview2-final 363,735 6/27/2016 1.0.0-preview2-final is deprecated because it is no longer maintained.