Microsoft.EntityFrameworkCore.Design 10.0.2

Prefix Reserved
dotnet add package Microsoft.EntityFrameworkCore.Design --version 10.0.2
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore.Design -Version 10.0.2
                    
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="10.0.2">
  <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="10.0.2" />
                    
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 10.0.2
                    
#r "nuget: Microsoft.EntityFrameworkCore.Design, 10.0.2"
                    
#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@10.0.2
                    
#: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=10.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore.Design&version=10.0.2
                    
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 net10.0 is compatible.  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 (611)

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 (559)

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 10
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, 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.
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.
bchavez/Bogus
:card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
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 10 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
dotnet/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
rmcrackan/Libation
Libation: Liberate your Library
Version Downloads Last Updated
10.0.2 5,659 1/13/2026
10.0.1 1,477,671 12/9/2025
10.0.0 2,286,989 11/11/2025
10.0.0-rc.2.25502.107 77,722 10/14/2025
10.0.0-rc.1.25451.107 87,484 9/9/2025
10.0.0-preview.7.25380.108 21,457 8/12/2025
10.0.0-preview.6.25358.103 11,803 7/15/2025
10.0.0-preview.5.25277.114 18,981 6/6/2025
10.0.0-preview.4.25258.110 10,065 5/12/2025
10.0.0-preview.3.25171.6 8,675 4/10/2025
10.0.0-preview.2.25163.8 7,064 3/18/2025
10.0.0-preview.1.25081.1 8,109 2/25/2025
9.0.12 1,524 1/13/2026
9.0.11 1,566,976 11/11/2025
9.0.10 3,997,032 10/14/2025
9.0.9 5,307,920 9/9/2025
9.0.8 4,884,762 8/5/2025
9.0.7 3,718,629 7/8/2025
9.0.6 4,742,772 6/10/2025
9.0.5 4,917,878 5/13/2025
9.0.4 6,729,314 4/8/2025
9.0.3 5,361,855 3/11/2025
9.0.2 5,765,015 2/11/2025
9.0.1 7,419,053 1/14/2025
9.0.0 12,194,773 11/12/2024
9.0.0-rc.2.24474.1 146,609 10/8/2024
9.0.0-rc.1.24451.1 88,165 9/10/2024
9.0.0-preview.7.24405.3 38,922 8/13/2024
9.0.0-preview.6.24327.4 33,442 7/9/2024
9.0.0-preview.5.24306.3 34,494 6/11/2024
9.0.0-preview.4.24267.1 30,533 5/21/2024
9.0.0-preview.3.24172.4 135,268 4/11/2024
9.0.0-preview.2.24128.4 41,219 3/12/2024
9.0.0-preview.1.24081.2 69,640 2/13/2024
8.0.23 1,288 1/13/2026
8.0.22 1,213,103 11/11/2025
8.0.21 935,604 10/14/2025
8.0.20 1,183,781 9/9/2025
8.0.19 2,157,880 8/5/2025
8.0.18 1,225,878 7/8/2025
8.0.17 2,348,528 6/10/2025
8.0.16 2,285,316 5/13/2025
8.0.15 2,820,006 4/8/2025
8.0.14 3,884,757 3/11/2025
8.0.13 3,556,380 2/11/2025
8.0.12 3,836,450 1/14/2025
8.0.11 16,410,112 11/12/2024
8.0.10 17,482,016 10/8/2024
8.0.8 19,856,468 8/13/2024
8.0.7 11,924,921 7/9/2024
8.0.6 13,266,558 5/28/2024
8.0.5 5,078,444 5/14/2024
8.0.4 14,126,842 4/9/2024
8.0.3 8,318,215 3/12/2024
8.0.2 10,857,888 2/13/2024
8.0.1 8,743,779 1/9/2024
8.0.0 22,728,161 11/14/2023
8.0.0-rc.2.23480.1 117,392 10/10/2023
8.0.0-rc.1.23419.6 74,197 9/12/2023
8.0.0-preview.7.23375.4 40,932 8/8/2023
8.0.0-preview.6.23329.4 61,433 7/11/2023
8.0.0-preview.5.23280.1 150,536 6/13/2023
8.0.0-preview.4.23259.3 70,541 5/16/2023
8.0.0-preview.3.23174.2 108,249 4/11/2023
8.0.0-preview.2.23128.3 49,025 3/14/2023
8.0.0-preview.1.23111.4 96,041 2/21/2023
7.0.20 2,773,885 5/28/2024
7.0.19 380,801 5/14/2024
7.0.18 991,873 4/9/2024
7.0.17 868,739 3/12/2024
7.0.16 1,306,463 2/13/2024
7.0.15 1,716,619 1/9/2024
7.0.14 3,660,653 11/14/2023
7.0.13 4,801,516 10/24/2023
7.0.12 2,665,526 10/10/2023
7.0.11 7,702,019 9/12/2023
7.0.10 6,015,625 8/8/2023
7.0.9 6,774,978 7/11/2023
7.0.8 3,640,319 6/22/2023
7.0.7 1,878,192 6/13/2023
7.0.5 12,774,814 4/11/2023
7.0.4 5,865,752 3/14/2023
7.0.3 6,777,794 2/14/2023
7.0.2 8,771,101 1/10/2023
7.0.1 4,794,145 12/13/2022
7.0.0 6,577,447 11/7/2022
7.0.0-rc.2.22472.11 116,761 10/11/2022
7.0.0-rc.1.22426.7 55,555 9/14/2022
7.0.0-preview.7.22376.2 43,893 8/9/2022
7.0.0-preview.6.22329.4 39,541 7/12/2022
7.0.0-preview.5.22302.2 29,869 6/14/2022
7.0.0-preview.4.22229.2 40,207 5/10/2022
7.0.0-preview.3.22175.1 57,790 4/13/2022
7.0.0-preview.2.22153.1 31,717 3/14/2022
7.0.0-preview.1.22076.6 27,097 2/17/2022
6.0.36 1,301,293 11/12/2024
6.0.35 492,150 10/8/2024
6.0.33 1,773,769 8/13/2024
6.0.32 413,198 7/9/2024
6.0.31 569,451 5/28/2024
6.0.30 319,575 5/14/2024
6.0.29 1,011,189 4/9/2024
6.0.28 888,186 3/12/2024
6.0.27 876,200 2/13/2024
6.0.26 1,249,401 1/9/2024
6.0.25 1,979,526 11/14/2023
6.0.24 955,988 10/24/2023
6.0.23 729,247 10/10/2023
6.0.22 1,628,299 9/12/2023
6.0.21 1,648,703 8/8/2023
6.0.20 1,692,081 7/11/2023
6.0.19 1,003,291 6/22/2023
6.0.18 724,695 6/13/2023
6.0.16 4,272,596 4/11/2023
6.0.15 2,160,315 3/14/2023
6.0.14 2,835,176 2/14/2023
6.0.13 3,923,324 1/10/2023
6.0.12 4,140,105 12/13/2022
6.0.11 5,083,863 11/7/2022
6.0.10 9,245,435 10/11/2022
6.0.9 8,075,560 9/13/2022
6.0.8 10,164,555 8/9/2022
6.0.7 17,236,451 7/12/2022
6.0.6 7,087,699 6/14/2022
6.0.5 9,843,928 5/10/2022
6.0.4 7,992,928 4/11/2022
6.0.3 8,369,921 3/8/2022
6.0.2 6,932,113 2/8/2022
6.0.1 11,549,339 12/14/2021
6.0.0 17,510,960 11/8/2021
6.0.0-rc.2.21480.5 114,246 10/12/2021
6.0.0-rc.1.21452.10 81,683 9/14/2021
6.0.0-preview.7.21378.4 75,158 8/10/2021
6.0.0-preview.6.21352.1 26,990 7/14/2021
6.0.0-preview.5.21301.9 90,165 6/15/2021
6.0.0-preview.4.21253.1 53,668 5/24/2021
6.0.0-preview.3.21201.2 50,889 4/8/2021
6.0.0-preview.2.21154.2 20,185 3/11/2021
6.0.0-preview.1.21102.2 43,654 2/12/2021
5.0.17 4,212,397 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 697,732 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 1,042,024 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 1,312,305 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 2,283,967 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 2,345,744 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 4,445,488 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 5,735,541 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 4,928,081 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 4,351,403 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 5,623,087 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 3,980,543 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 5,630,004 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 3,706,960 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 3,721,388 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 4,183,218 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 6,637,935 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 5,102,716 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 110,122 10/13/2020
5.0.0-rc.1.20451.13 124,888 9/14/2020
5.0.0-preview.8.20407.4 50,134 8/25/2020
5.0.0-preview.7.20365.15 45,297 7/21/2020
5.0.0-preview.6.20312.4 39,426 6/25/2020
5.0.0-preview.5.20278.2 31,129 6/10/2020
5.0.0-preview.4.20220.10 38,175 5/18/2020
5.0.0-preview.3.20181.2 50,006 4/23/2020
5.0.0-preview.2.20159.4 32,985 4/2/2020
5.0.0-preview.2.20120.8 18,140 3/16/2020
3.1.32 2,015,803 12/13/2022
3.1.31 264,772 11/8/2022
3.1.30 416,028 10/11/2022
3.1.29 898,227 9/13/2022
3.1.28 271,043 8/9/2022
3.1.27 251,976 7/12/2022
3.1.26 365,400 6/14/2022
3.1.25 481,366 5/10/2022
3.1.24 234,913 4/11/2022
3.1.23 589,635 3/8/2022
3.1.22 1,343,885 12/14/2021
3.1.21 1,212,695 11/7/2021
3.1.20 639,083 10/11/2021
3.1.19 931,890 9/14/2021
3.1.18 1,405,968 8/10/2021
3.1.17 929,846 7/13/2021
3.1.16 1,061,259 6/8/2021
3.1.15 1,138,910 5/11/2021
3.1.14 1,427,983 4/6/2021
3.1.13 1,590,026 3/9/2021
3.1.12 1,554,093 2/9/2021
3.1.11 2,133,162 1/12/2021
3.1.10 3,331,738 11/9/2020
3.1.9 6,209,406 10/13/2020
3.1.8 7,608,092 9/8/2020
3.1.7 4,571,930 8/11/2020
3.1.6 5,029,403 7/14/2020
3.1.5 6,246,270 6/9/2020
3.1.4 6,676,185 5/12/2020
3.1.3 12,978,735 3/24/2020
3.1.2 6,070,407 2/19/2020
3.1.1 5,765,023 1/14/2020
3.1.0 6,791,910 12/3/2019
3.1.0-preview3.19554.8 49,238 11/13/2019
3.1.0-preview2.19525.5 20,813 11/1/2019
3.1.0-preview1.19506.2 763,897 10/15/2019
3.0.3 114,533 2/19/2020
3.0.2 50,633 1/14/2020
3.0.1 731,719 11/18/2019
3.0.0 7,716,709 9/23/2019
3.0.0-rc1.19456.14 32,341 9/16/2019
3.0.0-preview9.19423.6 54,594 9/4/2019
3.0.0-preview8.19405.11 400,870 8/13/2019
3.0.0-preview7.19362.6 37,858 7/23/2019
3.0.0-preview6.19304.10 47,457 6/12/2019
3.0.0-preview5.19227.1 648,798 5/6/2019
3.0.0-preview4.19216.3 10,791 4/18/2019
3.0.0-preview3.19153.1 34,833 3/6/2019
3.0.0-preview.19074.3 19,345 1/29/2019
3.0.0-preview.18572.1 16,824 12/3/2018
2.3.0 31,606 1/14/2025
2.2.6 16,230,154 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 8,937,044 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 2,687,031 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 2,920,280 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 3,414,068 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 14,308,792 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 106,203 10/17/2018
2.2.0-preview2-35157 109,327 9/12/2018
2.2.0-preview1-35029 63,599 8/22/2018
2.1.14 2,442,179 11/18/2019
2.1.11 2,304,941 5/14/2019
2.1.8 2,355,465 2/12/2019
2.1.4 8,242,982 10/1/2018
2.1.3 3,716,937 9/11/2018
2.1.2 3,011,329 8/21/2018
2.1.1 14,264,316 6/18/2018
2.1.0 7,113,998 5/29/2018
2.1.0-rc1-final 66,056 5/6/2018
2.1.0-preview2-final 130,956 4/10/2018
2.1.0-preview1-final 202,532 2/26/2018
2.0.3 4,355,086 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,666,214 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 7,881,477 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 8,412,137 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 76,565 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 37,268 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 261,806 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 229,350 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 73,949 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 96,098 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 1,163,088 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 775,907 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 1,967,471 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 12,462 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.6 33,737 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 26,054 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 35,896 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 641,222 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 29,106 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 751,855 10/17/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0-preview2-final 364,487 6/27/2016 1.0.0-preview2-final is deprecated because it is no longer maintained.