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

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 21,000 1/13/2026
10.0.1 1,497,456 12/9/2025
10.0.0 2,299,723 11/11/2025
10.0.0-rc.2.25502.107 77,826 10/14/2025
10.0.0-rc.1.25451.107 87,555 9/9/2025
10.0.0-preview.7.25380.108 21,461 8/12/2025
10.0.0-preview.6.25358.103 11,805 7/15/2025
10.0.0-preview.5.25277.114 18,985 6/6/2025
10.0.0-preview.4.25258.110 10,086 5/12/2025
10.0.0-preview.3.25171.6 8,679 4/10/2025
10.0.0-preview.2.25163.8 7,075 3/18/2025
10.0.0-preview.1.25081.1 8,124 2/25/2025
9.0.12 6,497 1/13/2026
9.0.11 1,578,028 11/11/2025
9.0.10 4,007,217 10/14/2025
9.0.9 5,316,728 9/9/2025
9.0.8 4,890,627 8/5/2025
9.0.7 3,722,710 7/8/2025
9.0.6 4,748,221 6/10/2025
9.0.5 4,921,735 5/13/2025
9.0.4 6,734,810 4/8/2025
9.0.3 5,365,083 3/11/2025
9.0.2 5,768,447 2/11/2025
9.0.1 7,425,214 1/14/2025
9.0.0 12,206,623 11/12/2024
9.0.0-rc.2.24474.1 146,667 10/8/2024
9.0.0-rc.1.24451.1 88,174 9/10/2024
9.0.0-preview.7.24405.3 38,936 8/13/2024
9.0.0-preview.6.24327.4 33,448 7/9/2024
9.0.0-preview.5.24306.3 34,503 6/11/2024
9.0.0-preview.4.24267.1 30,535 5/21/2024
9.0.0-preview.3.24172.4 135,280 4/11/2024
9.0.0-preview.2.24128.4 41,221 3/12/2024
9.0.0-preview.1.24081.2 69,646 2/13/2024
8.0.23 5,519 1/13/2026
8.0.22 1,222,935 11/11/2025
8.0.21 938,930 10/14/2025
8.0.20 1,186,152 9/9/2025
8.0.19 2,160,048 8/5/2025
8.0.18 1,228,300 7/8/2025
8.0.17 2,350,727 6/10/2025
8.0.16 2,288,072 5/13/2025
8.0.15 2,822,245 4/8/2025
8.0.14 3,887,317 3/11/2025
8.0.13 3,559,291 2/11/2025
8.0.12 3,839,475 1/14/2025
8.0.11 16,427,303 11/12/2024
8.0.10 17,492,097 10/8/2024
8.0.8 19,865,694 8/13/2024
8.0.7 11,929,927 7/9/2024
8.0.6 13,271,485 5/28/2024
8.0.5 5,080,335 5/14/2024
8.0.4 14,132,694 4/9/2024
8.0.3 8,321,194 3/12/2024
8.0.2 10,861,623 2/13/2024
8.0.1 8,746,514 1/9/2024
8.0.0 22,741,449 11/14/2023
8.0.0-rc.2.23480.1 117,404 10/10/2023
8.0.0-rc.1.23419.6 74,198 9/12/2023
8.0.0-preview.7.23375.4 40,932 8/8/2023
8.0.0-preview.6.23329.4 61,439 7/11/2023
8.0.0-preview.5.23280.1 150,544 6/13/2023
8.0.0-preview.4.23259.3 70,559 5/16/2023
8.0.0-preview.3.23174.2 108,291 4/11/2023
8.0.0-preview.2.23128.3 49,027 3/14/2023
8.0.0-preview.1.23111.4 96,047 2/21/2023
7.0.20 2,776,050 5/28/2024
7.0.19 381,022 5/14/2024
7.0.18 992,432 4/9/2024
7.0.17 868,943 3/12/2024
7.0.16 1,306,640 2/13/2024
7.0.15 1,716,854 1/9/2024
7.0.14 3,661,230 11/14/2023
7.0.13 4,802,106 10/24/2023
7.0.12 2,665,793 10/10/2023
7.0.11 7,708,506 9/12/2023
7.0.10 6,016,419 8/8/2023
7.0.9 6,776,362 7/11/2023
7.0.8 3,640,680 6/22/2023
7.0.7 1,878,394 6/13/2023
7.0.5 12,776,171 4/11/2023
7.0.4 5,866,463 3/14/2023
7.0.3 6,779,323 2/14/2023
7.0.2 8,772,079 1/10/2023
7.0.1 4,794,768 12/13/2022
7.0.0 6,578,202 11/7/2022
7.0.0-rc.2.22472.11 116,772 10/11/2022
7.0.0-rc.1.22426.7 55,559 9/14/2022
7.0.0-preview.7.22376.2 43,896 8/9/2022
7.0.0-preview.6.22329.4 39,545 7/12/2022
7.0.0-preview.5.22302.2 29,872 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,098 2/17/2022
6.0.36 1,302,560 11/12/2024
6.0.35 492,331 10/8/2024
6.0.33 1,774,897 8/13/2024
6.0.32 413,308 7/9/2024
6.0.31 569,605 5/28/2024
6.0.30 319,681 5/14/2024
6.0.29 1,011,422 4/9/2024
6.0.28 888,341 3/12/2024
6.0.27 876,379 2/13/2024
6.0.26 1,249,640 1/9/2024
6.0.25 1,979,892 11/14/2023
6.0.24 956,089 10/24/2023
6.0.23 729,355 10/10/2023
6.0.22 1,628,512 9/12/2023
6.0.21 1,649,018 8/8/2023
6.0.20 1,692,819 7/11/2023
6.0.19 1,003,408 6/22/2023
6.0.18 724,815 6/13/2023
6.0.16 4,273,013 4/11/2023
6.0.15 2,160,520 3/14/2023
6.0.14 2,835,467 2/14/2023
6.0.13 3,923,684 1/10/2023
6.0.12 4,140,422 12/13/2022
6.0.11 5,084,240 11/7/2022
6.0.10 9,246,118 10/11/2022
6.0.9 8,076,477 9/13/2022
6.0.8 10,165,329 8/9/2022
6.0.7 17,238,000 7/12/2022
6.0.6 7,089,258 6/14/2022
6.0.5 9,844,923 5/10/2022
6.0.4 7,993,461 4/11/2022
6.0.3 8,370,471 3/8/2022
6.0.2 6,932,666 2/8/2022
6.0.1 11,550,213 12/14/2021
6.0.0 17,512,957 11/8/2021
6.0.0-rc.2.21480.5 114,253 10/12/2021
6.0.0-rc.1.21452.10 81,683 9/14/2021
6.0.0-preview.7.21378.4 75,167 8/10/2021
6.0.0-preview.6.21352.1 26,993 7/14/2021
6.0.0-preview.5.21301.9 90,168 6/15/2021
6.0.0-preview.4.21253.1 53,669 5/24/2021
6.0.0-preview.3.21201.2 50,889 4/8/2021
6.0.0-preview.2.21154.2 20,187 3/11/2021
6.0.0-preview.1.21102.2 43,655 2/12/2021
5.0.17 4,213,219 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 697,839 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 1,042,103 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 1,312,376 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 2,284,352 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 2,345,905 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 4,445,703 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 5,735,900 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 4,928,242 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 4,351,590 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 5,623,426 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 3,980,708 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 5,630,246 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 3,707,183 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 3,721,618 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 4,183,395 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 6,638,226 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 5,102,994 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 110,123 10/13/2020
5.0.0-rc.1.20451.13 124,892 9/14/2020
5.0.0-preview.8.20407.4 50,136 8/25/2020
5.0.0-preview.7.20365.15 45,299 7/21/2020
5.0.0-preview.6.20312.4 39,428 6/25/2020
5.0.0-preview.5.20278.2 31,130 6/10/2020
5.0.0-preview.4.20220.10 38,175 5/18/2020
5.0.0-preview.3.20181.2 50,007 4/23/2020
5.0.0-preview.2.20159.4 32,986 4/2/2020
5.0.0-preview.2.20120.8 18,140 3/16/2020
3.1.32 2,016,842 12/13/2022
3.1.31 264,853 11/8/2022
3.1.30 416,154 10/11/2022
3.1.29 898,377 9/13/2022
3.1.28 271,132 8/9/2022
3.1.27 252,065 7/12/2022
3.1.26 365,470 6/14/2022
3.1.25 481,464 5/10/2022
3.1.24 234,960 4/11/2022
3.1.23 589,688 3/8/2022
3.1.22 1,344,035 12/14/2021
3.1.21 1,212,808 11/7/2021
3.1.20 639,164 10/11/2021
3.1.19 931,953 9/14/2021
3.1.18 1,406,128 8/10/2021
3.1.17 930,076 7/13/2021
3.1.16 1,061,402 6/8/2021
3.1.15 1,139,052 5/11/2021
3.1.14 1,428,110 4/6/2021
3.1.13 1,590,121 3/9/2021
3.1.12 1,554,157 2/9/2021
3.1.11 2,133,307 1/12/2021
3.1.10 3,331,893 11/9/2020
3.1.9 6,209,596 10/13/2020
3.1.8 7,608,375 9/8/2020
3.1.7 4,572,118 8/11/2020
3.1.6 5,029,572 7/14/2020
3.1.5 6,246,512 6/9/2020
3.1.4 6,676,634 5/12/2020
3.1.3 12,979,389 3/24/2020
3.1.2 6,070,654 2/19/2020
3.1.1 5,765,370 1/14/2020
3.1.0 6,792,295 12/3/2019
3.1.0-preview3.19554.8 49,238 11/13/2019
3.1.0-preview2.19525.5 20,815 11/1/2019
3.1.0-preview1.19506.2 763,967 10/15/2019
3.0.3 114,592 2/19/2020
3.0.2 50,675 1/14/2020
3.0.1 731,781 11/18/2019
3.0.0 7,717,127 9/23/2019
3.0.0-rc1.19456.14 32,342 9/16/2019
3.0.0-preview9.19423.6 54,596 9/4/2019
3.0.0-preview8.19405.11 400,873 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,802 5/6/2019
3.0.0-preview4.19216.3 10,792 4/18/2019
3.0.0-preview3.19153.1 34,834 3/6/2019
3.0.0-preview.19074.3 19,345 1/29/2019
3.0.0-preview.18572.1 16,825 12/3/2018
2.3.0 31,679 1/14/2025
2.2.6 16,231,194 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 8,937,343 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 2,687,124 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 2,920,393 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 3,414,178 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 14,309,862 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 106,205 10/17/2018
2.2.0-preview2-35157 109,328 9/12/2018
2.2.0-preview1-35029 63,600 8/22/2018
2.1.14 2,442,317 11/18/2019
2.1.11 2,305,016 5/14/2019
2.1.8 2,355,522 2/12/2019
2.1.4 8,243,285 10/1/2018
2.1.3 3,717,127 9/11/2018
2.1.2 3,011,413 8/21/2018
2.1.1 14,266,334 6/18/2018
2.1.0 7,114,511 5/29/2018
2.1.0-rc1-final 66,056 5/6/2018
2.1.0-preview2-final 130,957 4/10/2018
2.1.0-preview1-final 202,534 2/26/2018
2.0.3 4,355,299 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,666,498 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 7,881,778 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 8,412,593 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 76,568 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 37,269 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 261,884 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 229,389 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 73,990 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 96,149 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 1,163,192 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 775,959 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 1,967,514 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,777 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 26,094 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 35,936 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 641,397 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 29,145 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 752,186 10/17/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0-preview2-final 364,495 6/27/2016 1.0.0-preview2-final is deprecated because it is no longer maintained.