Microsoft.EntityFrameworkCore.Tools 9.0.8

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.EntityFrameworkCore.Tools --version 9.0.8
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore.Tools -Version 9.0.8
                    
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.Tools" Version="9.0.8">
  <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.Tools" Version="9.0.8" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools">
  <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.Tools --version 9.0.8
                    
#r "nuget: Microsoft.EntityFrameworkCore.Tools, 9.0.8"
                    
#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.Tools@9.0.8
                    
#: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.Tools&version=9.0.8
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore.Tools&version=9.0.8
                    
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.

This package, Microsoft.EntityFrameworkCore.Tools is for PowerShell tooling that works in the Visual Studio Package Manager Console (PMC).

Usage

Install the tools package by running the following in the Visual Studio PMC:

Install-Package Microsoft.EntityFrameworkCore.Tools

The available commands are listed in the following table.

PMC Command Usage
Add-Migration Adds a new migration.
Bundle-Migration Creates an executable to update the database.
Drop-Database Drops the database.
Get-DbContext Gets information about a DbContext type.
Get-Help EntityFramework Displays information about Entity Framework commands.
Get-Migration Lists available migrations.
Optimize-DbContext Generates a compiled version of the model used by the DbContext.
Remove-Migration Removes the last migration.
Scaffold-DbContext Generates a DbContext and entity type classes for a specified database.
Script-DbContext Generates a SQL script from the DbContext. Bypasses any migrations.
Script-Migration Generates a SQL script from the migrations.
Update-Database Updates the database to the last migration or to a specified migration.

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.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (324)

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

Package Downloads
Microsoft.AspNetCore.App

Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.

Microsoft.AspNetCore.All

Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.

JoreNoe

Redis并发优化

ImmediaC.SimpleCms

ASP.NET Core based CMS

StatisticManagers-CMS

Page Display Auth Process

GitHub repositories (485)

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

Repository Stars
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10
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
dotnet-architecture/eShopOnWeb
Sample ASP.NET Core 8.0 reference application, now community supported: https://github.com/NimblePros/eShopOnWeb
dotnet/eShop
A reference .NET application implementing an eCommerce site
EduardoPires/EquinoxProject
Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
ant-design-blazor/ant-design-blazor
🌈A rich set of enterprise-class UI components based on Ant Design and Blazor.
danielgerlag/workflow-core
Lightweight workflow engine for .NET Standard
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
dotnet/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
DearVa/Everywhere
Context-aware AI assistant for your desktop. Ready to respond intelligently, seamlessly integrating multiple LLMs and MCP tools.
rmcrackan/Libation
Libation: Liberate your Library
jasontaylordev/NorthwindTraders
Northwind Traders is a sample application built using ASP.NET Core and Entity Framework Core.
immense/Remotely
A remote control and remote scripting solution, built with .NET 8, Blazor, and SignalR.
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
dotnetcore/Util
Util是一个.Net平台下的应用框架,旨在提升中小团队的开发能力,由工具类、分层架构基类、Ui组件,配套代码生成模板,权限等组成。
simplcommerce/SimplCommerce
A simple, cross platform, modulith ecommerce system built on .NET
Version Downloads Last Updated
10.0.2 103,451 1/13/2026
10.0.1 975,313 12/9/2025
10.0.0 1,288,024 11/11/2025
10.0.0-rc.2.25502.107 42,323 10/14/2025
10.0.0-rc.1.25451.107 36,972 9/9/2025
10.0.0-preview.7.25380.108 15,165 8/12/2025
10.0.0-preview.6.25358.103 10,924 7/15/2025
10.0.0-preview.5.25277.114 15,212 6/6/2025
10.0.0-preview.4.25258.110 11,775 5/12/2025
10.0.0-preview.3.25171.6 16,764 4/10/2025
10.0.0-preview.2.25163.8 14,696 3/18/2025
10.0.0-preview.1.25081.1 13,161 2/25/2025
9.0.12 18,505 1/13/2026
9.0.11 878,966 11/11/2025
9.0.10 2,412,333 10/14/2025
9.0.9 3,016,903 9/9/2025
9.0.8 2,940,477 8/5/2025
9.0.7 2,337,020 7/8/2025
9.0.6 3,074,708 6/10/2025
9.0.5 2,820,693 5/13/2025
9.0.4 4,163,085 4/8/2025
9.0.3 3,422,064 3/11/2025
9.0.2 3,605,168 2/11/2025
9.0.1 3,988,312 1/14/2025
9.0.0 6,829,427 11/12/2024
9.0.0-rc.2.24474.1 107,482 10/8/2024
9.0.0-rc.1.24451.1 53,873 9/10/2024
9.0.0-preview.7.24405.3 27,685 8/13/2024
9.0.0-preview.6.24327.4 26,300 7/9/2024
9.0.0-preview.5.24306.3 17,258 6/11/2024
9.0.0-preview.4.24267.1 23,010 5/21/2024
9.0.0-preview.3.24172.4 113,002 4/11/2024
9.0.0-preview.2.24128.4 32,821 3/12/2024
9.0.0-preview.1.24081.2 50,580 2/13/2024
8.0.23 20,085 1/13/2026
8.0.22 644,734 11/11/2025
8.0.21 623,768 10/14/2025
8.0.20 761,356 9/9/2025
8.0.19 968,854 8/5/2025
8.0.18 777,855 7/8/2025
8.0.17 1,109,430 6/10/2025
8.0.16 1,537,199 5/13/2025
8.0.15 1,645,620 4/8/2025
8.0.14 2,000,287 3/11/2025
8.0.13 2,176,711 2/11/2025
8.0.12 2,329,211 1/14/2025
8.0.11 8,128,700 11/12/2024
8.0.10 11,530,879 10/8/2024
8.0.8 12,576,919 8/13/2024
8.0.7 7,592,369 7/9/2024
8.0.6 8,461,681 5/28/2024
8.0.5 3,206,442 5/14/2024
8.0.4 8,525,159 4/9/2024
8.0.3 5,475,764 3/12/2024
8.0.2 6,874,909 2/13/2024
8.0.1 5,448,585 1/9/2024
8.0.0 8,869,619 11/14/2023
8.0.0-rc.2.23480.1 76,787 10/10/2023
8.0.0-rc.1.23419.6 40,782 9/12/2023
8.0.0-preview.7.23375.4 32,327 8/8/2023
8.0.0-preview.6.23329.4 46,422 7/11/2023
8.0.0-preview.5.23280.1 78,582 6/13/2023
8.0.0-preview.4.23259.3 44,792 5/16/2023
8.0.0-preview.3.23174.2 81,645 4/11/2023
8.0.0-preview.2.23128.3 38,169 3/14/2023
8.0.0-preview.1.23111.4 79,761 2/21/2023
7.0.20 1,877,190 5/28/2024
7.0.19 258,621 5/14/2024
7.0.18 686,914 4/9/2024
7.0.17 541,657 3/12/2024
7.0.16 718,345 2/13/2024
7.0.15 1,059,167 1/9/2024
7.0.14 2,208,398 11/14/2023
7.0.13 2,412,979 10/24/2023
7.0.12 1,812,315 10/10/2023
7.0.11 4,337,915 9/12/2023
7.0.10 3,859,143 8/8/2023
7.0.9 3,061,603 7/11/2023
7.0.8 2,586,592 6/22/2023
7.0.7 1,246,022 6/13/2023
7.0.5 8,067,767 4/11/2023
7.0.4 3,602,936 3/14/2023
7.0.3 4,453,627 2/14/2023
7.0.2 5,737,499 1/10/2023
7.0.1 3,304,968 12/13/2022
7.0.0 4,041,216 11/7/2022
7.0.0-rc.2.22472.11 90,724 10/11/2022
7.0.0-rc.1.22426.7 37,717 9/14/2022
7.0.0-preview.7.22376.2 33,190 8/9/2022
7.0.0-preview.6.22329.4 25,070 7/12/2022
7.0.0-preview.5.22302.2 21,931 6/14/2022
7.0.0-preview.4.22229.2 27,859 5/10/2022
7.0.0-preview.3.22175.1 43,231 4/13/2022
7.0.0-preview.2.22153.1 17,770 3/14/2022
7.0.0-preview.1.22076.6 14,471 2/17/2022
6.0.36 791,794 11/12/2024
6.0.35 309,335 10/8/2024
6.0.33 457,270 8/13/2024
6.0.32 296,353 7/9/2024
6.0.31 403,929 5/28/2024
6.0.30 259,806 5/14/2024
6.0.29 711,892 4/9/2024
6.0.28 677,100 3/12/2024
6.0.27 663,855 2/13/2024
6.0.26 841,917 1/9/2024
6.0.25 1,314,746 11/14/2023
6.0.24 612,098 10/24/2023
6.0.23 552,551 10/10/2023
6.0.22 1,189,043 9/12/2023
6.0.21 1,231,561 8/8/2023
6.0.20 1,249,294 7/11/2023
6.0.19 740,617 6/22/2023
6.0.18 528,824 6/13/2023
6.0.16 2,762,201 4/11/2023
6.0.15 1,420,156 3/14/2023
6.0.14 1,864,990 2/14/2023
6.0.13 2,562,418 1/10/2023
6.0.12 2,315,523 12/13/2022
6.0.11 3,520,913 11/7/2022
6.0.10 6,274,063 10/11/2022
6.0.9 5,405,316 9/13/2022
6.0.8 6,962,232 8/9/2022
6.0.7 6,780,690 7/12/2022
6.0.6 4,354,927 6/14/2022
6.0.5 6,621,168 5/10/2022
6.0.4 4,968,643 4/11/2022
6.0.3 5,511,075 3/8/2022
6.0.2 4,617,384 2/8/2022
6.0.1 7,425,355 12/14/2021
6.0.0 8,332,766 11/8/2021
6.0.0-rc.2.21480.5 62,319 10/12/2021
6.0.0-rc.1.21452.10 62,020 9/14/2021
6.0.0-preview.7.21378.4 41,999 8/10/2021
6.0.0-preview.6.21352.1 21,333 7/14/2021
6.0.0-preview.5.21301.9 42,252 6/15/2021
6.0.0-preview.4.21253.1 24,417 5/24/2021
6.0.0-preview.3.21201.2 46,000 4/8/2021
6.0.0-preview.2.21154.2 16,732 3/11/2021
6.0.0-preview.1.21102.2 33,124 2/12/2021
5.0.17 2,783,917 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 503,146 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 780,457 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 961,665 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 1,560,310 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 1,784,694 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 3,322,237 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 4,174,214 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 3,427,895 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 3,225,265 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 3,711,735 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 2,859,966 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 3,924,404 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 2,699,769 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 2,559,325 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 2,594,337 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 2,409,200 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 3,719,450 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 73,613 10/13/2020
5.0.0-rc.1.20451.13 55,643 9/14/2020
5.0.0-preview.8.20407.4 34,518 8/25/2020
5.0.0-preview.7.20365.15 33,519 7/21/2020
5.0.0-preview.6.20312.4 33,208 6/25/2020
5.0.0-preview.5.20278.2 17,400 6/10/2020
5.0.0-preview.4.20220.10 27,533 5/18/2020
5.0.0-preview.3.20181.2 39,175 4/23/2020
5.0.0-preview.2.20159.4 27,599 4/2/2020
5.0.0-preview.2.20120.8 15,071 3/16/2020
3.1.32 1,409,502 12/13/2022
3.1.31 229,678 11/8/2022
3.1.30 278,957 10/11/2022
3.1.29 880,955 9/13/2022
3.1.28 196,636 8/9/2022
3.1.27 166,629 7/12/2022
3.1.26 215,487 6/14/2022
3.1.25 381,554 5/10/2022
3.1.24 198,455 4/11/2022
3.1.23 437,919 3/8/2022
3.1.22 1,037,747 12/14/2021
3.1.21 1,064,975 11/7/2021
3.1.20 392,609 10/11/2021
3.1.19 647,536 9/14/2021
3.1.18 970,309 8/10/2021
3.1.17 618,635 7/13/2021
3.1.16 651,646 6/8/2021
3.1.15 860,142 5/11/2021
3.1.14 1,073,066 4/6/2021
3.1.13 1,270,655 3/9/2021
3.1.12 1,108,521 2/9/2021
3.1.11 1,478,725 1/12/2021
3.1.10 2,450,005 11/9/2020
3.1.9 3,603,237 10/13/2020
3.1.8 5,315,185 9/8/2020
3.1.7 3,166,926 8/11/2020
3.1.6 3,654,307 7/14/2020
3.1.5 4,470,752 6/9/2020
3.1.4 4,536,187 5/12/2020
3.1.3 6,054,428 3/24/2020
3.1.2 4,297,462 2/19/2020
3.1.1 4,289,352 1/14/2020
3.1.0 4,695,637 12/3/2019
3.1.0-preview3.19554.8 39,926 11/13/2019
3.1.0-preview2.19525.5 16,645 11/1/2019
3.1.0-preview1.19506.2 839,427 10/15/2019
3.0.3 88,450 2/19/2020
3.0.2 64,447 1/14/2020
3.0.1 521,234 11/18/2019
3.0.0 4,776,962 9/23/2019
3.0.0-rc1.19456.14 23,321 9/16/2019
3.0.0-preview9.19423.6 39,745 9/4/2019
3.0.0-preview8.19405.11 44,025 8/13/2019
3.0.0-preview7.19362.6 31,307 7/23/2019
3.0.0-preview6.19304.10 40,107 6/12/2019
3.0.0-preview5.19227.1 50,481 5/6/2019
3.0.0-preview4.19216.3 9,557 4/18/2019
3.0.0-preview3.19153.1 30,605 3/6/2019
3.0.0-preview.19074.3 16,610 1/29/2019
3.0.0-preview.18572.1 15,193 12/3/2018
2.3.0 48,124 1/14/2025
2.2.6 11,281,062 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 5,962,521 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 1,829,905 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 2,112,310 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 2,680,034 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 11,766,492 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 89,955 10/17/2018
2.2.0-preview2-35157 78,009 9/12/2018
2.2.0-preview1-35029 18,826 8/22/2018
2.1.14 2,193,261 11/18/2019
2.1.11 1,889,904 5/14/2019
2.1.8 2,280,551 2/12/2019
2.1.4 6,955,042 10/1/2018
2.1.3 3,325,079 9/11/2018
2.1.2 2,568,594 8/21/2018
2.1.1 13,573,500 6/18/2018
2.1.0 4,773,865 5/29/2018
2.1.0-rc1-final 52,849 5/6/2018
2.1.0-preview2-final 69,616 4/10/2018
2.1.0-preview1-final 213,000 2/26/2018
2.0.3 4,335,136 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,339,150 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 7,087,055 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 7,401,347 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 65,949 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 37,881 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 104,896 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 213,645 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 50,764 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.2 94,138 9/20/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 778,027 5/9/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 322,537 3/6/2017 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview4-final 331,345 11/16/2016 1.1.0-preview4-final is deprecated because it is no longer maintained.
1.1.0-msbuild3-final 48,918 1/27/2017 1.1.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.3 45,312 11/14/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 37,681 9/20/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 45,296 5/9/2017 1.0.1 is deprecated because it is no longer maintained.
1.0.0 715,320 3/6/2017 1.0.0 is deprecated because it is no longer maintained.
1.0.0-preview4-final 30,524 12/12/2016 1.0.0-preview4-final is deprecated because it is no longer maintained.
1.0.0-preview3-final 49,958 10/24/2016 1.0.0-preview3-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 385,683 6/27/2016 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 64,501 5/16/2016 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-msbuild3-final 37,652 1/27/2017 1.0.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.0-msbuild2-final 14,954 12/12/2016 1.0.0-msbuild2-final is deprecated because it is no longer maintained.
1.0.0-msbuild1-final 18,426 11/16/2016 1.0.0-msbuild1-final is deprecated because it is no longer maintained.