Microsoft.EntityFrameworkCore.Tools 10.0.0-preview.3.25171.6

Prefix Reserved
This is a prerelease version of Microsoft.EntityFrameworkCore.Tools.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.EntityFrameworkCore.Tools --version 10.0.0-preview.3.25171.6
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore.Tools -Version 10.0.0-preview.3.25171.6
                    
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="10.0.0-preview.3.25171.6">
  <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="10.0.0-preview.3.25171.6" />
                    
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 10.0.0-preview.3.25171.6
                    
#r "nuget: Microsoft.EntityFrameworkCore.Tools, 10.0.0-preview.3.25171.6"
                    
#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@10.0.0-preview.3.25171.6
                    
#: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=10.0.0-preview.3.25171.6&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore.Tools&version=10.0.0-preview.3.25171.6&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 (311)

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

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 9
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
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.
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
dotnetcore/Util
Util是一个.Net平台下的应用框架,旨在提升中小团队的开发能力,由工具类、分层架构基类、Ui组件,配套代码生成模板,权限等组成。
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
rmcrackan/Libation
Libation: Liberate your Library
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-rc.1.25451.107 1,916 9/9/2025
10.0.0-preview.7.25380.108 9,534 8/12/2025
10.0.0-preview.6.25358.103 7,619 7/15/2025
10.0.0-preview.5.25277.114 12,802 6/6/2025
10.0.0-preview.4.25258.110 9,640 5/12/2025
10.0.0-preview.3.25171.6 13,776 4/10/2025
10.0.0-preview.2.25163.8 12,706 3/18/2025
10.0.0-preview.1.25081.1 11,618 2/25/2025
9.0.9 104,498 9/9/2025
9.0.8 1,330,082 8/5/2025
9.0.7 1,152,802 7/8/2025
9.0.6 1,762,960 6/10/2025
9.0.5 1,912,842 5/13/2025
9.0.4 2,824,763 4/8/2025
9.0.3 2,546,988 3/11/2025
9.0.2 2,796,684 2/11/2025
9.0.1 2,878,086 1/14/2025
9.0.0 5,185,299 11/12/2024
9.0.0-rc.2.24474.1 95,659 10/8/2024
9.0.0-rc.1.24451.1 48,555 9/10/2024
9.0.0-preview.7.24405.3 24,483 8/13/2024
9.0.0-preview.6.24327.4 24,610 7/9/2024
9.0.0-preview.5.24306.3 15,956 6/11/2024
9.0.0-preview.4.24267.1 20,255 5/21/2024
9.0.0-preview.3.24172.4 110,752 4/11/2024
9.0.0-preview.2.24128.4 30,169 3/12/2024
9.0.0-preview.1.24081.2 48,863 2/13/2024
8.0.20 24,790 9/9/2025
8.0.19 339,981 8/5/2025
8.0.18 316,432 7/8/2025
8.0.17 596,809 6/10/2025
8.0.16 845,014 5/13/2025
8.0.15 1,061,675 4/8/2025
8.0.14 1,380,564 3/11/2025
8.0.13 1,519,216 2/11/2025
8.0.12 1,747,441 1/14/2025
8.0.11 5,999,968 11/12/2024
8.0.10 9,245,914 10/8/2024
8.0.8 10,412,238 8/13/2024
8.0.7 6,471,542 7/9/2024
8.0.6 7,266,587 5/28/2024
8.0.5 2,776,264 5/14/2024
8.0.4 7,406,317 4/9/2024
8.0.3 4,824,542 3/12/2024
8.0.2 6,038,806 2/13/2024
8.0.1 4,897,779 1/9/2024
8.0.0 7,384,075 11/14/2023
8.0.0-rc.2.23480.1 75,051 10/10/2023
8.0.0-rc.1.23419.6 40,309 9/12/2023
8.0.0-preview.7.23375.4 31,692 8/8/2023
8.0.0-preview.6.23329.4 45,018 7/11/2023
8.0.0-preview.5.23280.1 69,734 6/13/2023
8.0.0-preview.4.23259.3 39,827 5/16/2023
8.0.0-preview.3.23174.2 74,337 4/11/2023
8.0.0-preview.2.23128.3 37,506 3/14/2023
8.0.0-preview.1.23111.4 79,134 2/21/2023
7.0.20 1,463,349 5/28/2024
7.0.19 206,984 5/14/2024
7.0.18 589,420 4/9/2024
7.0.17 475,449 3/12/2024
7.0.16 646,756 2/13/2024
7.0.15 970,308 1/9/2024
7.0.14 2,061,935 11/14/2023
7.0.13 2,276,924 10/24/2023
7.0.12 1,719,340 10/10/2023
7.0.11 3,958,229 9/12/2023
7.0.10 3,642,798 8/8/2023
7.0.9 2,898,971 7/11/2023
7.0.8 2,478,007 6/22/2023
7.0.7 1,149,403 6/13/2023
7.0.5 7,686,314 4/11/2023
7.0.4 3,439,219 3/14/2023
7.0.3 4,240,497 2/14/2023
7.0.2 5,421,992 1/10/2023
7.0.1 3,132,813 12/13/2022
7.0.0 3,852,838 11/7/2022
7.0.0-rc.2.22472.11 84,620 10/11/2022
7.0.0-rc.1.22426.7 36,922 9/14/2022
7.0.0-preview.7.22376.2 32,554 8/9/2022
7.0.0-preview.6.22329.4 24,686 7/12/2022
7.0.0-preview.5.22302.2 21,707 6/14/2022
7.0.0-preview.4.22229.2 27,580 5/10/2022
7.0.0-preview.3.22175.1 42,945 4/13/2022
7.0.0-preview.2.22153.1 17,547 3/14/2022
7.0.0-preview.1.22076.6 14,195 2/17/2022
6.0.36 517,075 11/12/2024
6.0.35 230,869 10/8/2024
6.0.33 383,673 8/13/2024
6.0.32 244,061 7/9/2024
6.0.31 335,443 5/28/2024
6.0.30 202,133 5/14/2024
6.0.29 612,927 4/9/2024
6.0.28 591,525 3/12/2024
6.0.27 588,007 2/13/2024
6.0.26 764,947 1/9/2024
6.0.25 1,194,021 11/14/2023
6.0.24 549,754 10/24/2023
6.0.23 503,154 10/10/2023
6.0.22 1,098,044 9/12/2023
6.0.21 1,134,950 8/8/2023
6.0.20 1,122,877 7/11/2023
6.0.19 683,749 6/22/2023
6.0.18 484,018 6/13/2023
6.0.16 2,617,303 4/11/2023
6.0.15 1,344,909 3/14/2023
6.0.14 1,770,418 2/14/2023
6.0.13 2,465,425 1/10/2023
6.0.12 2,207,437 12/13/2022
6.0.11 3,402,956 11/7/2022
6.0.10 6,068,628 10/11/2022
6.0.9 5,211,034 9/13/2022
6.0.8 6,756,601 8/9/2022
6.0.7 6,596,829 7/12/2022
6.0.6 4,162,966 6/14/2022
6.0.5 6,426,334 5/10/2022
6.0.4 4,804,298 4/11/2022
6.0.3 5,357,004 3/8/2022
6.0.2 4,472,474 2/8/2022
6.0.1 7,227,509 12/14/2021
6.0.0 7,941,140 11/8/2021
6.0.0-rc.2.21480.5 61,259 10/12/2021
6.0.0-rc.1.21452.10 61,211 9/14/2021
6.0.0-preview.7.21378.4 41,759 8/10/2021
6.0.0-preview.6.21352.1 20,888 7/14/2021
6.0.0-preview.5.21301.9 40,518 6/15/2021
6.0.0-preview.4.21253.1 24,286 5/24/2021
6.0.0-preview.3.21201.2 45,096 4/8/2021
6.0.0-preview.2.21154.2 16,599 3/11/2021
6.0.0-preview.1.21102.2 32,748 2/12/2021
5.0.17 2,633,050 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 464,805 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 738,328 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 922,818 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 1,485,902 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 1,723,968 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 3,239,968 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 4,084,959 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 3,349,557 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 3,159,521 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 3,615,486 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 2,796,344 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 3,822,773 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 2,633,668 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 2,505,591 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 2,536,920 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 2,354,835 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 3,621,029 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 72,766 10/13/2020
5.0.0-rc.1.20451.13 55,212 9/14/2020
5.0.0-preview.8.20407.4 34,269 8/25/2020
5.0.0-preview.7.20365.15 33,251 7/21/2020
5.0.0-preview.6.20312.4 32,917 6/25/2020
5.0.0-preview.5.20278.2 17,171 6/10/2020
5.0.0-preview.4.20220.10 27,209 5/18/2020
5.0.0-preview.3.20181.2 38,996 4/23/2020
5.0.0-preview.2.20159.4 26,978 4/2/2020
5.0.0-preview.2.20120.8 14,924 3/16/2020
3.1.32 1,180,438 12/13/2022
3.1.31 191,947 11/8/2022
3.1.30 241,897 10/11/2022
3.1.29 763,899 9/13/2022
3.1.28 156,774 8/9/2022
3.1.27 130,704 7/12/2022
3.1.26 177,525 6/14/2022
3.1.25 343,612 5/10/2022
3.1.24 166,266 4/11/2022
3.1.23 403,016 3/8/2022
3.1.22 969,337 12/14/2021
3.1.21 1,018,739 11/7/2021
3.1.20 354,858 10/11/2021
3.1.19 606,668 9/14/2021
3.1.18 918,236 8/10/2021
3.1.17 575,341 7/13/2021
3.1.16 610,616 6/8/2021
3.1.15 820,171 5/11/2021
3.1.14 1,014,223 4/6/2021
3.1.13 1,224,754 3/9/2021
3.1.12 1,068,211 2/9/2021
3.1.11 1,427,935 1/12/2021
3.1.10 2,389,288 11/9/2020
3.1.9 3,531,915 10/13/2020
3.1.8 5,224,179 9/8/2020
3.1.7 3,089,283 8/11/2020
3.1.6 3,579,777 7/14/2020
3.1.5 4,384,029 6/9/2020
3.1.4 4,395,780 5/12/2020
3.1.3 5,951,620 3/24/2020
3.1.2 4,216,982 2/19/2020
3.1.1 4,212,707 1/14/2020
3.1.0 4,604,506 12/3/2019
3.1.0-preview3.19554.8 38,999 11/13/2019
3.1.0-preview2.19525.5 16,338 11/1/2019
3.1.0-preview1.19506.2 820,554 10/15/2019
3.0.3 57,693 2/19/2020
3.0.2 34,696 1/14/2020
3.0.1 486,923 11/18/2019
3.0.0 4,685,786 9/23/2019
3.0.0-rc1.19456.14 23,173 9/16/2019
3.0.0-preview9.19423.6 39,575 9/4/2019
3.0.0-preview8.19405.11 43,680 8/13/2019
3.0.0-preview7.19362.6 31,026 7/23/2019
3.0.0-preview6.19304.10 39,938 6/12/2019
3.0.0-preview5.19227.1 49,518 5/6/2019
3.0.0-preview4.19216.3 9,435 4/18/2019
3.0.0-preview3.19153.1 30,345 3/6/2019
3.0.0-preview.19074.3 16,417 1/29/2019
3.0.0-preview.18572.1 14,966 12/3/2018
2.3.0 10,787 1/14/2025
2.2.6 11,052,321 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 5,847,213 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 1,791,993 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 2,053,935 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 2,630,378 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 11,442,862 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 89,163 10/17/2018
2.2.0-preview2-35157 74,953 9/12/2018
2.2.0-preview1-35029 18,570 8/22/2018
2.1.14 2,130,014 11/18/2019
2.1.11 1,850,065 5/14/2019
2.1.8 2,240,080 2/12/2019
2.1.4 6,877,724 10/1/2018
2.1.3 3,254,585 9/11/2018
2.1.2 2,521,250 8/21/2018
2.1.1 12,784,404 6/18/2018
2.1.0 4,699,062 5/29/2018
2.1.0-rc1-final 52,430 5/6/2018
2.1.0-preview2-final 69,098 4/10/2018
2.1.0-preview1-final 208,132 2/26/2018
2.0.3 4,229,223 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,243,771 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 6,942,907 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 7,262,158 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 65,052 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 37,510 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 73,846 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 180,842 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 21,644 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.2 64,851 9/20/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 738,408 5/9/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 289,778 3/6/2017 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview4-final 330,443 11/16/2016 1.1.0-preview4-final is deprecated because it is no longer maintained.
1.1.0-msbuild3-final 48,597 1/27/2017 1.1.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.3 16,186 11/14/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 8,672 9/20/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 16,228 5/9/2017 1.0.1 is deprecated because it is no longer maintained.
1.0.0 602,950 3/6/2017 1.0.0 is deprecated because it is no longer maintained.
1.0.0-preview4-final 30,282 12/12/2016 1.0.0-preview4-final is deprecated because it is no longer maintained.
1.0.0-preview3-final 49,718 10/24/2016 1.0.0-preview3-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 384,912 6/27/2016 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 64,251 5/16/2016 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-msbuild3-final 37,330 1/27/2017 1.0.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.0-msbuild2-final 13,401 12/12/2016 1.0.0-msbuild2-final is deprecated because it is no longer maintained.
1.0.0-msbuild1-final 17,524 11/16/2016 1.0.0-msbuild1-final is deprecated because it is no longer maintained.