Microsoft.EntityFrameworkCore.Tools 9.0.0-rc.2.24474.1

Prefix Reserved
This is a prerelease version of Microsoft.EntityFrameworkCore.Tools.
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.0-rc.2.24474.1
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore.Tools -Version 9.0.0-rc.2.24474.1
                    
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.0-rc.2.24474.1">
  <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.0-rc.2.24474.1" />
                    
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.0-rc.2.24474.1
                    
#r "nuget: Microsoft.EntityFrameworkCore.Tools, 9.0.0-rc.2.24474.1"
                    
#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.0-rc.2.24474.1
                    
#: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.0-rc.2.24474.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore.Tools&version=9.0.0-rc.2.24474.1&prerelease
                    
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 (316)

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

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.
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.
rmcrackan/Libation
Libation: Liberate your Library
dotnetcore/Util
Util是一个.Net平台下的应用框架,旨在提升中小团队的开发能力,由工具类、分层架构基类、Ui组件,配套代码生成模板,权限等组成。
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
simplcommerce/SimplCommerce
A simple, cross platform, modulith ecommerce system built on .NET
ivanpaulovich/clean-architecture-manga
:cyclone: Clean Architecture with .NET6, C#10 and React+Redux. Use cases as central organizing structure, completely testable, decoupled from frameworks
Version Downloads Last Updated
10.0.0 107,059 11/11/2025
10.0.0-rc.2.25502.107 28,576 10/14/2025
10.0.0-rc.1.25451.107 29,768 9/9/2025
10.0.0-preview.7.25380.108 13,895 8/12/2025
10.0.0-preview.6.25358.103 9,871 7/15/2025
10.0.0-preview.5.25277.114 14,427 6/6/2025
10.0.0-preview.4.25258.110 11,100 5/12/2025
10.0.0-preview.3.25171.6 15,827 4/10/2025
10.0.0-preview.2.25163.8 13,815 3/18/2025
10.0.0-preview.1.25081.1 12,333 2/25/2025
9.0.11 40,217 11/11/2025
9.0.10 1,249,216 10/14/2025
9.0.9 2,158,378 9/9/2025
9.0.8 2,377,750 8/5/2025
9.0.7 1,908,592 7/8/2025
9.0.6 2,550,643 6/10/2025
9.0.5 2,452,561 5/13/2025
9.0.4 3,609,382 4/8/2025
9.0.3 3,050,939 3/11/2025
9.0.2 3,277,745 2/11/2025
9.0.1 3,496,181 1/14/2025
9.0.0 6,040,606 11/12/2024
9.0.0-rc.2.24474.1 103,136 10/8/2024
9.0.0-rc.1.24451.1 51,501 9/10/2024
9.0.0-preview.7.24405.3 26,109 8/13/2024
9.0.0-preview.6.24327.4 25,677 7/9/2024
9.0.0-preview.5.24306.3 16,445 6/11/2024
9.0.0-preview.4.24267.1 22,023 5/21/2024
9.0.0-preview.3.24172.4 112,012 4/11/2024
9.0.0-preview.2.24128.4 31,624 3/12/2024
9.0.0-preview.1.24081.2 49,916 2/13/2024
8.0.22 28,270 11/11/2025
8.0.21 280,133 10/14/2025
8.0.20 517,760 9/9/2025
8.0.19 723,737 8/5/2025
8.0.18 581,030 7/8/2025
8.0.17 907,411 6/10/2025
8.0.16 1,234,082 5/13/2025
8.0.15 1,404,788 4/8/2025
8.0.14 1,738,770 3/11/2025
8.0.13 1,895,856 2/11/2025
8.0.12 2,076,273 1/14/2025
8.0.11 7,149,555 11/12/2024
8.0.10 10,500,711 10/8/2024
8.0.8 11,608,863 8/13/2024
8.0.7 7,102,029 7/9/2024
8.0.6 7,935,603 5/28/2024
8.0.5 3,020,316 5/14/2024
8.0.4 8,046,749 4/9/2024
8.0.3 5,194,395 3/12/2024
8.0.2 6,487,270 2/13/2024
8.0.1 5,207,894 1/9/2024
8.0.0 8,141,196 11/14/2023
8.0.0-rc.2.23480.1 76,078 10/10/2023
8.0.0-rc.1.23419.6 40,566 9/12/2023
8.0.0-preview.7.23375.4 32,079 8/8/2023
8.0.0-preview.6.23329.4 45,932 7/11/2023
8.0.0-preview.5.23280.1 73,106 6/13/2023
8.0.0-preview.4.23259.3 40,793 5/16/2023
8.0.0-preview.3.23174.2 79,424 4/11/2023
8.0.0-preview.2.23128.3 37,822 3/14/2023
8.0.0-preview.1.23111.4 79,471 2/21/2023
7.0.20 1,680,326 5/28/2024
7.0.19 231,062 5/14/2024
7.0.18 638,391 4/9/2024
7.0.17 506,121 3/12/2024
7.0.16 682,030 2/13/2024
7.0.15 1,013,707 1/9/2024
7.0.14 2,139,188 11/14/2023
7.0.13 2,349,345 10/24/2023
7.0.12 1,766,514 10/10/2023
7.0.11 4,157,032 9/12/2023
7.0.10 3,758,728 8/8/2023
7.0.9 2,984,807 7/11/2023
7.0.8 2,535,762 6/22/2023
7.0.7 1,199,873 6/13/2023
7.0.5 7,903,113 4/11/2023
7.0.4 3,524,832 3/14/2023
7.0.3 4,352,034 2/14/2023
7.0.2 5,610,707 1/10/2023
7.0.1 3,223,619 12/13/2022
7.0.0 3,955,273 11/7/2022
7.0.0-rc.2.22472.11 87,423 10/11/2022
7.0.0-rc.1.22426.7 37,354 9/14/2022
7.0.0-preview.7.22376.2 32,874 8/9/2022
7.0.0-preview.6.22329.4 24,896 7/12/2022
7.0.0-preview.5.22302.2 21,830 6/14/2022
7.0.0-preview.4.22229.2 27,720 5/10/2022
7.0.0-preview.3.22175.1 43,117 4/13/2022
7.0.0-preview.2.22153.1 17,645 3/14/2022
7.0.0-preview.1.22076.6 14,321 2/17/2022
6.0.36 664,540 11/12/2024
6.0.35 269,550 10/8/2024
6.0.33 420,895 8/13/2024
6.0.32 268,191 7/9/2024
6.0.31 368,037 5/28/2024
6.0.30 229,853 5/14/2024
6.0.29 664,362 4/9/2024
6.0.28 634,247 3/12/2024
6.0.27 625,977 2/13/2024
6.0.26 802,429 1/9/2024
6.0.25 1,254,637 11/14/2023
6.0.24 579,092 10/24/2023
6.0.23 524,722 10/10/2023
6.0.22 1,143,770 9/12/2023
6.0.21 1,183,284 8/8/2023
6.0.20 1,198,887 7/11/2023
6.0.19 709,628 6/22/2023
6.0.18 503,496 6/13/2023
6.0.16 2,698,994 4/11/2023
6.0.15 1,381,894 3/14/2023
6.0.14 1,817,156 2/14/2023
6.0.13 2,514,442 1/10/2023
6.0.12 2,264,137 12/13/2022
6.0.11 3,465,081 11/7/2022
6.0.10 6,178,372 10/11/2022
6.0.9 5,318,612 9/13/2022
6.0.8 6,866,961 8/9/2022
6.0.7 6,694,261 7/12/2022
6.0.6 4,251,795 6/14/2022
6.0.5 6,527,223 5/10/2022
6.0.4 4,892,187 4/11/2022
6.0.3 5,439,097 3/8/2022
6.0.2 4,549,619 2/8/2022
6.0.1 7,333,798 12/14/2021
6.0.0 8,168,017 11/8/2021
6.0.0-rc.2.21480.5 61,876 10/12/2021
6.0.0-rc.1.21452.10 61,688 9/14/2021
6.0.0-preview.7.21378.4 41,906 8/10/2021
6.0.0-preview.6.21352.1 21,116 7/14/2021
6.0.0-preview.5.21301.9 41,483 6/15/2021
6.0.0-preview.4.21253.1 24,356 5/24/2021
6.0.0-preview.3.21201.2 45,678 4/8/2021
6.0.0-preview.2.21154.2 16,668 3/11/2021
6.0.0-preview.1.21102.2 32,970 2/12/2021
5.0.17 2,711,382 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 480,582 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 755,965 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 938,736 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 1,519,918 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 1,752,892 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 3,278,110 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 4,129,097 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 3,386,699 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 3,191,083 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 3,667,956 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 2,826,564 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 3,867,629 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 2,663,427 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 2,529,862 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 2,561,953 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 2,379,078 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 3,666,963 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 73,280 10/13/2020
5.0.0-rc.1.20451.13 55,428 9/14/2020
5.0.0-preview.8.20407.4 34,389 8/25/2020
5.0.0-preview.7.20365.15 33,412 7/21/2020
5.0.0-preview.6.20312.4 33,079 6/25/2020
5.0.0-preview.5.20278.2 17,306 6/10/2020
5.0.0-preview.4.20220.10 27,357 5/18/2020
5.0.0-preview.3.20181.2 39,085 4/23/2020
5.0.0-preview.2.20159.4 27,365 4/2/2020
5.0.0-preview.2.20120.8 14,993 3/16/2020
3.1.32 1,303,120 12/13/2022
3.1.31 206,908 11/8/2022
3.1.30 257,016 10/11/2022
3.1.29 815,440 9/13/2022
3.1.28 173,457 8/9/2022
3.1.27 144,611 7/12/2022
3.1.26 192,065 6/14/2022
3.1.25 357,962 5/10/2022
3.1.24 178,032 4/11/2022
3.1.23 416,531 3/8/2022
3.1.22 1,001,196 12/14/2021
3.1.21 1,039,401 11/7/2021
3.1.20 369,796 10/11/2021
3.1.19 625,381 9/14/2021
3.1.18 943,046 8/10/2021
3.1.17 592,574 7/13/2021
3.1.16 627,958 6/8/2021
3.1.15 836,263 5/11/2021
3.1.14 1,040,856 4/6/2021
3.1.13 1,245,351 3/9/2021
3.1.12 1,084,527 2/9/2021
3.1.11 1,450,011 1/12/2021
3.1.10 2,417,017 11/9/2020
3.1.9 3,564,019 10/13/2020
3.1.8 5,273,388 9/8/2020
3.1.7 3,126,915 8/11/2020
3.1.6 3,618,499 7/14/2020
3.1.5 4,423,461 6/9/2020
3.1.4 4,462,398 5/12/2020
3.1.3 6,004,512 3/24/2020
3.1.2 4,260,300 2/19/2020
3.1.1 4,249,985 1/14/2020
3.1.0 4,651,760 12/3/2019
3.1.0-preview3.19554.8 39,459 11/13/2019
3.1.0-preview2.19525.5 16,481 11/1/2019
3.1.0-preview1.19506.2 830,681 10/15/2019
3.0.3 68,655 2/19/2020
3.0.2 45,196 1/14/2020
3.0.1 501,069 11/18/2019
3.0.0 4,731,664 9/23/2019
3.0.0-rc1.19456.14 23,252 9/16/2019
3.0.0-preview9.19423.6 39,656 9/4/2019
3.0.0-preview8.19405.11 43,819 8/13/2019
3.0.0-preview7.19362.6 31,171 7/23/2019
3.0.0-preview6.19304.10 40,036 6/12/2019
3.0.0-preview5.19227.1 50,027 5/6/2019
3.0.0-preview4.19216.3 9,499 4/18/2019
3.0.0-preview3.19153.1 30,505 3/6/2019
3.0.0-preview.19074.3 16,513 1/29/2019
3.0.0-preview.18572.1 15,082 12/3/2018
2.3.0 24,400 1/14/2025
2.2.6 11,178,586 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 5,911,089 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 1,807,100 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 2,082,365 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 2,653,258 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 11,626,478 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 89,631 10/17/2018
2.2.0-preview2-35157 76,991 9/12/2018
2.2.0-preview1-35029 18,745 8/22/2018
2.1.14 2,158,460 11/18/2019
2.1.11 1,865,875 5/14/2019
2.1.8 2,256,690 2/12/2019
2.1.4 6,922,068 10/1/2018
2.1.3 3,294,583 9/11/2018
2.1.2 2,542,746 8/21/2018
2.1.1 13,228,428 6/18/2018
2.1.0 4,738,817 5/29/2018
2.1.0-rc1-final 52,719 5/6/2018
2.1.0-preview2-final 69,437 4/10/2018
2.1.0-preview1-final 212,388 2/26/2018
2.0.3 4,282,546 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,298,085 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 7,021,215 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 7,341,709 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 65,616 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 37,769 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 84,972 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 193,603 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 31,771 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.2 75,118 9/20/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 754,697 5/9/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 302,694 3/6/2017 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview4-final 331,031 11/16/2016 1.1.0-preview4-final is deprecated because it is no longer maintained.
1.1.0-msbuild3-final 48,771 1/27/2017 1.1.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.3 26,341 11/14/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 18,768 9/20/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 26,343 5/9/2017 1.0.1 is deprecated because it is no longer maintained.
1.0.0 659,389 3/6/2017 1.0.0 is deprecated because it is no longer maintained.
1.0.0-preview4-final 30,404 12/12/2016 1.0.0-preview4-final is deprecated because it is no longer maintained.
1.0.0-preview3-final 49,843 10/24/2016 1.0.0-preview3-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 385,355 6/27/2016 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 64,398 5/16/2016 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-msbuild3-final 37,502 1/27/2017 1.0.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.0-msbuild2-final 14,370 12/12/2016 1.0.0-msbuild2-final is deprecated because it is no longer maintained.
1.0.0-msbuild1-final 18,041 11/16/2016 1.0.0-msbuild1-final is deprecated because it is no longer maintained.