Microsoft.EntityFrameworkCore.Design 8.0.22

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.22
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore.Design -Version 8.0.22
                    
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.22">
  <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.22" />
                    
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.22
                    
#r "nuget: Microsoft.EntityFrameworkCore.Design, 8.0.22"
                    
#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.22
                    
#: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.22
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore.Design&version=8.0.22
                    
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 (610)

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 73,767 1/13/2026
10.0.1 1,562,612 12/9/2025
10.0.0 2,343,482 11/11/2025
10.0.0-rc.2.25502.107 78,100 10/14/2025
10.0.0-rc.1.25451.107 87,774 9/9/2025
10.0.0-preview.7.25380.108 21,512 8/12/2025
10.0.0-preview.6.25358.103 11,807 7/15/2025
10.0.0-preview.5.25277.114 19,001 6/6/2025
10.0.0-preview.4.25258.110 10,114 5/12/2025
10.0.0-preview.3.25171.6 8,681 4/10/2025
10.0.0-preview.2.25163.8 7,102 3/18/2025
10.0.0-preview.1.25081.1 8,169 2/25/2025
9.0.12 17,654 1/13/2026
9.0.11 1,617,579 11/11/2025
9.0.10 4,045,576 10/14/2025
9.0.9 5,348,324 9/9/2025
9.0.8 4,911,784 8/5/2025
9.0.7 3,737,927 7/8/2025
9.0.6 4,766,160 6/10/2025
9.0.5 4,934,872 5/13/2025
9.0.4 6,752,529 4/8/2025
9.0.3 5,378,492 3/11/2025
9.0.2 5,781,067 2/11/2025
9.0.1 7,446,465 1/14/2025
9.0.0 12,241,704 11/12/2024
9.0.0-rc.2.24474.1 146,848 10/8/2024
9.0.0-rc.1.24451.1 88,251 9/10/2024
9.0.0-preview.7.24405.3 38,962 8/13/2024
9.0.0-preview.6.24327.4 33,478 7/9/2024
9.0.0-preview.5.24306.3 34,527 6/11/2024
9.0.0-preview.4.24267.1 30,538 5/21/2024
9.0.0-preview.3.24172.4 135,302 4/11/2024
9.0.0-preview.2.24128.4 41,227 3/12/2024
9.0.0-preview.1.24081.2 69,671 2/13/2024
8.0.23 16,099 1/13/2026
8.0.22 1,256,929 11/11/2025
8.0.21 949,669 10/14/2025
8.0.20 1,194,729 9/9/2025
8.0.19 2,167,890 8/5/2025
8.0.18 1,235,963 7/8/2025
8.0.17 2,357,084 6/10/2025
8.0.16 2,296,654 5/13/2025
8.0.15 2,831,264 4/8/2025
8.0.14 3,899,677 3/11/2025
8.0.13 3,568,763 2/11/2025
8.0.12 3,850,254 1/14/2025
8.0.11 16,486,138 11/12/2024
8.0.10 17,526,453 10/8/2024
8.0.8 19,899,499 8/13/2024
8.0.7 11,946,383 7/9/2024
8.0.6 13,290,712 5/28/2024
8.0.5 5,086,423 5/14/2024
8.0.4 14,150,263 4/9/2024
8.0.3 8,330,579 3/12/2024
8.0.2 10,874,802 2/13/2024
8.0.1 8,755,339 1/9/2024
8.0.0 22,783,372 11/14/2023
8.0.0-rc.2.23480.1 117,416 10/10/2023
8.0.0-rc.1.23419.6 74,205 9/12/2023
8.0.0-preview.7.23375.4 40,933 8/8/2023
8.0.0-preview.6.23329.4 61,459 7/11/2023
8.0.0-preview.5.23280.1 150,560 6/13/2023
8.0.0-preview.4.23259.3 70,613 5/16/2023
8.0.0-preview.3.23174.2 108,319 4/11/2023
8.0.0-preview.2.23128.3 49,028 3/14/2023
8.0.0-preview.1.23111.4 96,050 2/21/2023
7.0.20 2,781,913 5/28/2024
7.0.19 381,443 5/14/2024
7.0.18 993,887 4/9/2024
7.0.17 869,382 3/12/2024
7.0.16 1,307,185 2/13/2024
7.0.15 1,717,649 1/9/2024
7.0.14 3,662,695 11/14/2023
7.0.13 4,804,730 10/24/2023
7.0.12 2,666,497 10/10/2023
7.0.11 7,717,071 9/12/2023
7.0.10 6,018,778 8/8/2023
7.0.9 6,781,245 7/11/2023
7.0.8 3,641,738 6/22/2023
7.0.7 1,878,925 6/13/2023
7.0.5 12,781,082 4/11/2023
7.0.4 5,868,581 3/14/2023
7.0.3 6,783,317 2/14/2023
7.0.2 8,774,885 1/10/2023
7.0.1 4,796,610 12/13/2022
7.0.0 6,580,995 11/7/2022
7.0.0-rc.2.22472.11 116,795 10/11/2022
7.0.0-rc.1.22426.7 55,567 9/14/2022
7.0.0-preview.7.22376.2 43,903 8/9/2022
7.0.0-preview.6.22329.4 39,547 7/12/2022
7.0.0-preview.5.22302.2 29,873 6/14/2022
7.0.0-preview.4.22229.2 40,207 5/10/2022
7.0.0-preview.3.22175.1 57,791 4/13/2022
7.0.0-preview.2.22153.1 31,719 3/14/2022
7.0.0-preview.1.22076.6 27,104 2/17/2022
6.0.36 1,307,108 11/12/2024
6.0.35 492,960 10/8/2024
6.0.33 1,779,066 8/13/2024
6.0.32 413,606 7/9/2024
6.0.31 570,041 5/28/2024
6.0.30 319,979 5/14/2024
6.0.29 1,012,160 4/9/2024
6.0.28 888,921 3/12/2024
6.0.27 876,978 2/13/2024
6.0.26 1,250,171 1/9/2024
6.0.25 1,980,910 11/14/2023
6.0.24 956,524 10/24/2023
6.0.23 729,588 10/10/2023
6.0.22 1,629,325 9/12/2023
6.0.21 1,649,859 8/8/2023
6.0.20 1,693,765 7/11/2023
6.0.19 1,003,757 6/22/2023
6.0.18 725,029 6/13/2023
6.0.16 4,274,183 4/11/2023
6.0.15 2,161,112 3/14/2023
6.0.14 2,836,218 2/14/2023
6.0.13 3,924,800 1/10/2023
6.0.12 4,141,462 12/13/2022
6.0.11 5,085,498 11/7/2022
6.0.10 9,248,392 10/11/2022
6.0.9 8,078,393 9/13/2022
6.0.8 10,167,834 8/9/2022
6.0.7 17,243,057 7/12/2022
6.0.6 7,091,131 6/14/2022
6.0.5 9,847,423 5/10/2022
6.0.4 7,994,950 4/11/2022
6.0.3 8,372,236 3/8/2022
6.0.2 6,933,794 2/8/2022
6.0.1 11,552,430 12/14/2021
6.0.0 17,519,402 11/8/2021
6.0.0-rc.2.21480.5 114,270 10/12/2021
6.0.0-rc.1.21452.10 81,688 9/14/2021
6.0.0-preview.7.21378.4 75,171 8/10/2021
6.0.0-preview.6.21352.1 27,000 7/14/2021
6.0.0-preview.5.21301.9 90,194 6/15/2021
6.0.0-preview.4.21253.1 53,670 5/24/2021
6.0.0-preview.3.21201.2 50,893 4/8/2021
6.0.0-preview.2.21154.2 20,187 3/11/2021
6.0.0-preview.1.21102.2 43,659 2/12/2021
5.0.17 4,215,107 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 698,025 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 1,042,304 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 1,312,608 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 2,285,035 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 2,346,220 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 4,446,376 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 5,736,815 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 4,928,887 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 4,352,010 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 5,624,590 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 3,981,275 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 5,631,137 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 3,707,645 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 3,722,000 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 4,183,788 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 6,639,014 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 5,103,641 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 110,141 10/13/2020
5.0.0-rc.1.20451.13 124,900 9/14/2020
5.0.0-preview.8.20407.4 50,139 8/25/2020
5.0.0-preview.7.20365.15 45,300 7/21/2020
5.0.0-preview.6.20312.4 39,428 6/25/2020
5.0.0-preview.5.20278.2 31,131 6/10/2020
5.0.0-preview.4.20220.10 38,176 5/18/2020
5.0.0-preview.3.20181.2 50,016 4/23/2020
5.0.0-preview.2.20159.4 32,987 4/2/2020
5.0.0-preview.2.20120.8 18,141 3/16/2020
3.1.32 2,019,952 12/13/2022
3.1.31 264,970 11/8/2022
3.1.30 417,277 10/11/2022
3.1.29 900,074 9/13/2022
3.1.28 271,253 8/9/2022
3.1.27 252,248 7/12/2022
3.1.26 365,582 6/14/2022
3.1.25 481,630 5/10/2022
3.1.24 234,994 4/11/2022
3.1.23 589,768 3/8/2022
3.1.22 1,344,637 12/14/2021
3.1.21 1,212,995 11/7/2021
3.1.20 639,276 10/11/2021
3.1.19 932,025 9/14/2021
3.1.18 1,406,402 8/10/2021
3.1.17 930,328 7/13/2021
3.1.16 1,061,571 6/8/2021
3.1.15 1,139,293 5/11/2021
3.1.14 1,428,462 4/6/2021
3.1.13 1,590,264 3/9/2021
3.1.12 1,554,345 2/9/2021
3.1.11 2,133,500 1/12/2021
3.1.10 3,332,315 11/9/2020
3.1.9 6,210,168 10/13/2020
3.1.8 7,609,013 9/8/2020
3.1.7 4,572,573 8/11/2020
3.1.6 5,029,951 7/14/2020
3.1.5 6,247,027 6/9/2020
3.1.4 6,678,808 5/12/2020
3.1.3 12,981,214 3/24/2020
3.1.2 6,071,091 2/19/2020
3.1.1 5,765,801 1/14/2020
3.1.0 6,793,175 12/3/2019
3.1.0-preview3.19554.8 49,260 11/13/2019
3.1.0-preview2.19525.5 20,819 11/1/2019
3.1.0-preview1.19506.2 764,204 10/15/2019
3.0.3 114,637 2/19/2020
3.0.2 50,692 1/14/2020
3.0.1 731,857 11/18/2019
3.0.0 7,718,149 9/23/2019
3.0.0-rc1.19456.14 32,343 9/16/2019
3.0.0-preview9.19423.6 54,598 9/4/2019
3.0.0-preview8.19405.11 400,877 8/13/2019
3.0.0-preview7.19362.6 37,859 7/23/2019
3.0.0-preview6.19304.10 47,457 6/12/2019
3.0.0-preview5.19227.1 648,810 5/6/2019
3.0.0-preview4.19216.3 10,792 4/18/2019
3.0.0-preview3.19153.1 34,838 3/6/2019
3.0.0-preview.19074.3 19,347 1/29/2019
3.0.0-preview.18572.1 16,827 12/3/2018
2.3.0 31,795 1/14/2025
2.2.6 16,233,431 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 8,938,236 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 2,687,330 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 2,920,677 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 3,414,393 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 14,313,641 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 106,211 10/17/2018
2.2.0-preview2-35157 109,333 9/12/2018
2.2.0-preview1-35029 63,600 8/22/2018
2.1.14 2,442,724 11/18/2019
2.1.11 2,305,113 5/14/2019
2.1.8 2,355,615 2/12/2019
2.1.4 8,243,831 10/1/2018
2.1.3 3,717,375 9/11/2018
2.1.2 3,011,541 8/21/2018
2.1.1 14,273,699 6/18/2018
2.1.0 7,115,863 5/29/2018
2.1.0-rc1-final 66,058 5/6/2018
2.1.0-preview2-final 130,958 4/10/2018
2.1.0-preview1-final 202,540 2/26/2018
2.0.3 4,356,063 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,667,433 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 7,882,554 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 8,413,493 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 76,572 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,993 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 229,410 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 74,007 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 96,166 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 1,163,347 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 776,015 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 1,967,535 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,794 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 26,109 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 35,951 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 641,839 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 29,161 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 753,378 10/17/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0-preview2-final 364,505 6/27/2016 1.0.0-preview2-final is deprecated because it is no longer maintained.