Microsoft.EntityFrameworkCore.Tools 10.0.1

Prefix Reserved
dotnet add package Microsoft.EntityFrameworkCore.Tools --version 10.0.1
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore.Tools -Version 10.0.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="10.0.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="10.0.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 10.0.1
                    
#r "nuget: Microsoft.EntityFrameworkCore.Tools, 10.0.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@10.0.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=10.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore.Tools&version=10.0.1
                    
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 (323)

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

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.
rmcrackan/Libation
Libation: Liberate your Library
immense/Remotely
A remote control and remote scripting solution, built with .NET 8, Blazor, and SignalR.
DearVa/Everywhere
A context-aware AI assistant for your desktop. Ready to respond intelligently, seamlessly integrating multiple LLMs and MCP tools.
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.1 497,983 12/9/2025
10.0.0 1,085,457 11/11/2025
10.0.0-rc.2.25502.107 40,726 10/14/2025
10.0.0-rc.1.25451.107 36,035 9/9/2025
10.0.0-preview.7.25380.108 14,936 8/12/2025
10.0.0-preview.6.25358.103 10,783 7/15/2025
10.0.0-preview.5.25277.114 14,984 6/6/2025
10.0.0-preview.4.25258.110 11,599 5/12/2025
10.0.0-preview.3.25171.6 16,562 4/10/2025
10.0.0-preview.2.25163.8 14,443 3/18/2025
10.0.0-preview.1.25081.1 12,825 2/25/2025
9.0.11 664,716 11/11/2025
9.0.10 2,192,533 10/14/2025
9.0.9 2,835,776 9/9/2025
9.0.8 2,817,290 8/5/2025
9.0.7 2,239,226 7/8/2025
9.0.6 2,949,706 6/10/2025
9.0.5 2,740,005 5/13/2025
9.0.4 4,040,663 4/8/2025
9.0.3 3,331,300 3/11/2025
9.0.2 3,531,624 2/11/2025
9.0.1 3,869,838 1/14/2025
9.0.0 6,646,720 11/12/2024
9.0.0-rc.2.24474.1 106,445 10/8/2024
9.0.0-rc.1.24451.1 53,409 9/10/2024
9.0.0-preview.7.24405.3 27,418 8/13/2024
9.0.0-preview.6.24327.4 26,170 7/9/2024
9.0.0-preview.5.24306.3 17,189 6/11/2024
9.0.0-preview.4.24267.1 22,907 5/21/2024
9.0.0-preview.3.24172.4 112,832 4/11/2024
9.0.0-preview.2.24128.4 32,661 3/12/2024
9.0.0-preview.1.24081.2 50,390 2/13/2024
8.0.22 473,527 11/11/2025
8.0.21 552,458 10/14/2025
8.0.20 710,736 9/9/2025
8.0.19 915,769 8/5/2025
8.0.18 732,162 7/8/2025
8.0.17 1,064,944 6/10/2025
8.0.16 1,476,219 5/13/2025
8.0.15 1,589,605 4/8/2025
8.0.14 1,940,188 3/11/2025
8.0.13 2,110,868 2/11/2025
8.0.12 2,271,551 1/14/2025
8.0.11 7,895,852 11/12/2024
8.0.10 11,286,452 10/8/2024
8.0.8 12,348,912 8/13/2024
8.0.7 7,483,209 7/9/2024
8.0.6 8,336,322 5/28/2024
8.0.5 3,165,443 5/14/2024
8.0.4 8,413,273 4/9/2024
8.0.3 5,413,544 3/12/2024
8.0.2 6,783,821 2/13/2024
8.0.1 5,393,121 1/9/2024
8.0.0 8,699,129 11/14/2023
8.0.0-rc.2.23480.1 76,636 10/10/2023
8.0.0-rc.1.23419.6 40,741 9/12/2023
8.0.0-preview.7.23375.4 32,279 8/8/2023
8.0.0-preview.6.23329.4 46,307 7/11/2023
8.0.0-preview.5.23280.1 77,472 6/13/2023
8.0.0-preview.4.23259.3 41,366 5/16/2023
8.0.0-preview.3.23174.2 81,111 4/11/2023
8.0.0-preview.2.23128.3 38,123 3/14/2023
8.0.0-preview.1.23111.4 79,702 2/21/2023
7.0.20 1,833,933 5/28/2024
7.0.19 254,567 5/14/2024
7.0.18 677,431 4/9/2024
7.0.17 535,676 3/12/2024
7.0.16 712,862 2/13/2024
7.0.15 1,051,166 1/9/2024
7.0.14 2,196,254 11/14/2023
7.0.13 2,401,384 10/24/2023
7.0.12 1,804,341 10/10/2023
7.0.11 4,298,027 9/12/2023
7.0.10 3,840,606 8/8/2023
7.0.9 3,046,756 7/11/2023
7.0.8 2,577,702 6/22/2023
7.0.7 1,239,826 6/13/2023
7.0.5 8,031,684 4/11/2023
7.0.4 3,586,552 3/14/2023
7.0.3 4,432,403 2/14/2023
7.0.2 5,709,964 1/10/2023
7.0.1 3,290,611 12/13/2022
7.0.0 4,024,525 11/7/2022
7.0.0-rc.2.22472.11 90,103 10/11/2022
7.0.0-rc.1.22426.7 37,630 9/14/2022
7.0.0-preview.7.22376.2 33,103 8/9/2022
7.0.0-preview.6.22329.4 25,031 7/12/2022
7.0.0-preview.5.22302.2 21,906 6/14/2022
7.0.0-preview.4.22229.2 27,844 5/10/2022
7.0.0-preview.3.22175.1 43,212 4/13/2022
7.0.0-preview.2.22153.1 17,738 3/14/2022
7.0.0-preview.1.22076.6 14,444 2/17/2022
6.0.36 763,132 11/12/2024
6.0.35 302,809 10/8/2024
6.0.33 451,604 8/13/2024
6.0.32 292,544 7/9/2024
6.0.31 398,251 5/28/2024
6.0.30 255,473 5/14/2024
6.0.29 703,596 4/9/2024
6.0.28 668,973 3/12/2024
6.0.27 657,990 2/13/2024
6.0.26 834,904 1/9/2024
6.0.25 1,303,164 11/14/2023
6.0.24 607,202 10/24/2023
6.0.23 548,552 10/10/2023
6.0.22 1,180,975 9/12/2023
6.0.21 1,222,685 8/8/2023
6.0.20 1,239,949 7/11/2023
6.0.19 735,970 6/22/2023
6.0.18 525,548 6/13/2023
6.0.16 2,751,672 4/11/2023
6.0.15 1,414,021 3/14/2023
6.0.14 1,856,955 2/14/2023
6.0.13 2,553,163 1/10/2023
6.0.12 2,306,120 12/13/2022
6.0.11 3,510,499 11/7/2022
6.0.10 6,255,334 10/11/2022
6.0.9 5,387,501 9/13/2022
6.0.8 6,942,725 8/9/2022
6.0.7 6,763,109 7/12/2022
6.0.6 4,335,449 6/14/2022
6.0.5 6,603,478 5/10/2022
6.0.4 4,954,571 4/11/2022
6.0.3 5,496,834 3/8/2022
6.0.2 4,604,122 2/8/2022
6.0.1 7,406,463 12/14/2021
6.0.0 8,294,063 11/8/2021
6.0.0-rc.2.21480.5 62,192 10/12/2021
6.0.0-rc.1.21452.10 61,949 9/14/2021
6.0.0-preview.7.21378.4 41,979 8/10/2021
6.0.0-preview.6.21352.1 21,266 7/14/2021
6.0.0-preview.5.21301.9 42,113 6/15/2021
6.0.0-preview.4.21253.1 24,404 5/24/2021
6.0.0-preview.3.21201.2 45,961 4/8/2021
6.0.0-preview.2.21154.2 16,718 3/11/2021
6.0.0-preview.1.21102.2 33,091 2/12/2021
5.0.17 2,770,763 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 500,535 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 777,329 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 958,868 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 1,553,064 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 1,780,190 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 3,314,699 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 4,166,244 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 3,421,282 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 3,220,235 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 3,703,826 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 2,854,758 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 3,915,071 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 2,693,995 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 2,554,842 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 2,589,732 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 2,405,122 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 3,711,267 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 73,501 10/13/2020
5.0.0-rc.1.20451.13 55,551 9/14/2020
5.0.0-preview.8.20407.4 34,485 8/25/2020
5.0.0-preview.7.20365.15 33,496 7/21/2020
5.0.0-preview.6.20312.4 33,173 6/25/2020
5.0.0-preview.5.20278.2 17,378 6/10/2020
5.0.0-preview.4.20220.10 27,507 5/18/2020
5.0.0-preview.3.20181.2 39,154 4/23/2020
5.0.0-preview.2.20159.4 27,555 4/2/2020
5.0.0-preview.2.20120.8 15,055 3/16/2020
3.1.32 1,385,793 12/13/2022
3.1.31 226,953 11/8/2022
3.1.30 276,640 10/11/2022
3.1.29 866,761 9/13/2022
3.1.28 194,255 8/9/2022
3.1.27 164,084 7/12/2022
3.1.26 212,765 6/14/2022
3.1.25 378,818 5/10/2022
3.1.24 196,393 4/11/2022
3.1.23 435,574 3/8/2022
3.1.22 1,031,218 12/14/2021
3.1.21 1,061,644 11/7/2021
3.1.20 389,932 10/11/2021
3.1.19 645,279 9/14/2021
3.1.18 966,429 8/10/2021
3.1.17 614,918 7/13/2021
3.1.16 648,781 6/8/2021
3.1.15 857,087 5/11/2021
3.1.14 1,068,118 4/6/2021
3.1.13 1,267,392 3/9/2021
3.1.12 1,105,308 2/9/2021
3.1.11 1,474,603 1/12/2021
3.1.10 2,444,867 11/9/2020
3.1.9 3,596,766 10/13/2020
3.1.8 5,308,127 9/8/2020
3.1.7 3,161,395 8/11/2020
3.1.6 3,648,913 7/14/2020
3.1.5 4,462,833 6/9/2020
3.1.4 4,518,893 5/12/2020
3.1.3 6,044,862 3/24/2020
3.1.2 4,290,645 2/19/2020
3.1.1 4,283,121 1/14/2020
3.1.0 4,688,400 12/3/2019
3.1.0-preview3.19554.8 39,796 11/13/2019
3.1.0-preview2.19525.5 16,593 11/1/2019
3.1.0-preview1.19506.2 837,253 10/15/2019
3.0.3 86,507 2/19/2020
3.0.2 62,619 1/14/2020
3.0.1 519,158 11/18/2019
3.0.0 4,768,928 9/23/2019
3.0.0-rc1.19456.14 23,300 9/16/2019
3.0.0-preview9.19423.6 39,727 9/4/2019
3.0.0-preview8.19405.11 43,993 8/13/2019
3.0.0-preview7.19362.6 31,276 7/23/2019
3.0.0-preview6.19304.10 40,085 6/12/2019
3.0.0-preview5.19227.1 50,375 5/6/2019
3.0.0-preview4.19216.3 9,548 4/18/2019
3.0.0-preview3.19153.1 30,584 3/6/2019
3.0.0-preview.19074.3 16,587 1/29/2019
3.0.0-preview.18572.1 15,147 12/3/2018
2.3.0 45,304 1/14/2025
2.2.6 11,259,178 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 5,953,041 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 1,827,099 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 2,108,036 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 2,676,400 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 11,735,103 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 89,881 10/17/2018
2.2.0-preview2-35157 77,865 9/12/2018
2.2.0-preview1-35029 18,809 8/22/2018
2.1.14 2,187,857 11/18/2019
2.1.11 1,886,779 5/14/2019
2.1.8 2,277,653 2/12/2019
2.1.4 6,950,044 10/1/2018
2.1.3 3,320,233 9/11/2018
2.1.2 2,565,127 8/21/2018
2.1.1 13,481,863 6/18/2018
2.1.0 4,768,385 5/29/2018
2.1.0-rc1-final 52,829 5/6/2018
2.1.0-preview2-final 69,593 4/10/2018
2.1.0-preview1-final 212,854 2/26/2018
2.0.3 4,324,991 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,332,115 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 7,074,285 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 7,390,528 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 65,877 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 37,867 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 102,805 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 211,617 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 48,996 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.2 92,374 9/20/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 775,235 5/9/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 320,551 3/6/2017 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview4-final 331,297 11/16/2016 1.1.0-preview4-final is deprecated because it is no longer maintained.
1.1.0-msbuild3-final 48,897 1/27/2017 1.1.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.3 43,557 11/14/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 35,942 9/20/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 43,554 5/9/2017 1.0.1 is deprecated because it is no longer maintained.
1.0.0 704,967 3/6/2017 1.0.0 is deprecated because it is no longer maintained.
1.0.0-preview4-final 30,508 12/12/2016 1.0.0-preview4-final is deprecated because it is no longer maintained.
1.0.0-preview3-final 49,946 10/24/2016 1.0.0-preview3-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 385,602 6/27/2016 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 64,489 5/16/2016 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-msbuild3-final 37,638 1/27/2017 1.0.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.0-msbuild2-final 14,869 12/12/2016 1.0.0-msbuild2-final is deprecated because it is no longer maintained.
1.0.0-msbuild1-final 18,332 11/16/2016 1.0.0-msbuild1-final is deprecated because it is no longer maintained.