Microsoft.EntityFrameworkCore.Tools 8.0.11

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 3.6 or higher.

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

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

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

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.
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
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
louthy/language-ext
C# pure functional programming framework - come and get declarative!
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
simplcommerce/SimplCommerce
A simple, cross platform, modulith ecommerce system built on .NET
Version Downloads Last Updated
10.0.0-preview.6.25358.103 582 7/15/2025
10.0.0-preview.5.25277.114 10,386 6/6/2025
10.0.0-preview.4.25258.110 8,372 5/12/2025
10.0.0-preview.3.25171.6 12,644 4/10/2025
10.0.0-preview.2.25163.8 11,770 3/18/2025
10.0.0-preview.1.25081.1 11,194 2/25/2025
9.0.7 213,068 7/8/2025
9.0.6 1,054,619 6/10/2025
9.0.5 1,463,958 5/13/2025
9.0.4 2,229,578 4/8/2025
9.0.3 2,153,513 3/11/2025
9.0.2 2,385,803 2/11/2025
9.0.1 2,448,707 1/14/2025
9.0.0 4,554,884 11/12/2024
9.0.0-rc.2.24474.1 89,015 10/8/2024
9.0.0-rc.1.24451.1 45,614 9/10/2024
9.0.0-preview.7.24405.3 23,227 8/13/2024
9.0.0-preview.6.24327.4 23,545 7/9/2024
9.0.0-preview.5.24306.3 15,570 6/11/2024
9.0.0-preview.4.24267.1 19,228 5/21/2024
9.0.0-preview.3.24172.4 109,964 4/11/2024
9.0.0-preview.2.24128.4 29,291 3/12/2024
9.0.0-preview.1.24081.2 47,618 2/13/2024
8.0.18 53,445 7/8/2025
8.0.17 304,084 6/10/2025
8.0.16 542,094 5/13/2025
8.0.15 798,103 4/8/2025
8.0.14 1,095,830 3/11/2025
8.0.13 1,228,153 2/11/2025
8.0.12 1,494,217 1/14/2025
8.0.11 5,198,784 11/12/2024
8.0.10 8,372,684 10/8/2024
8.0.8 9,532,329 8/13/2024
8.0.7 5,995,995 7/9/2024
8.0.6 6,774,076 5/28/2024
8.0.5 2,601,717 5/14/2024
8.0.4 6,925,480 4/9/2024
8.0.3 4,556,960 3/12/2024
8.0.2 5,725,720 2/13/2024
8.0.1 4,680,983 1/9/2024
8.0.0 6,850,269 11/14/2023
8.0.0-rc.2.23480.1 74,395 10/10/2023
8.0.0-rc.1.23419.6 40,134 9/12/2023
8.0.0-preview.7.23375.4 31,428 8/8/2023
8.0.0-preview.6.23329.4 44,265 7/11/2023
8.0.0-preview.5.23280.1 62,668 6/13/2023
8.0.0-preview.4.23259.3 39,117 5/16/2023
8.0.0-preview.3.23174.2 71,770 4/11/2023
8.0.0-preview.2.23128.3 37,237 3/14/2023
8.0.0-preview.1.23111.4 78,825 2/21/2023
7.0.20 1,318,858 5/28/2024
7.0.19 197,249 5/14/2024
7.0.18 562,895 4/9/2024
7.0.17 458,916 3/12/2024
7.0.16 626,575 2/13/2024
7.0.15 943,625 1/9/2024
7.0.14 1,999,061 11/14/2023
7.0.13 2,236,420 10/24/2023
7.0.12 1,693,479 10/10/2023
7.0.11 3,810,841 9/12/2023
7.0.10 3,562,331 8/8/2023
7.0.9 2,843,299 7/11/2023
7.0.8 2,418,318 6/22/2023
7.0.7 1,123,471 6/13/2023
7.0.5 7,539,928 4/11/2023
7.0.4 3,378,967 3/14/2023
7.0.3 4,168,898 2/14/2023
7.0.2 5,281,407 1/10/2023
7.0.1 3,073,571 12/13/2022
7.0.0 3,789,595 11/7/2022
7.0.0-rc.2.22472.11 83,125 10/11/2022
7.0.0-rc.1.22426.7 36,545 9/14/2022
7.0.0-preview.7.22376.2 32,278 8/9/2022
7.0.0-preview.6.22329.4 24,505 7/12/2022
7.0.0-preview.5.22302.2 21,581 6/14/2022
7.0.0-preview.4.22229.2 27,443 5/10/2022
7.0.0-preview.3.22175.1 42,839 4/13/2022
7.0.0-preview.2.22153.1 17,471 3/14/2022
7.0.0-preview.1.22076.6 14,088 2/17/2022
6.0.36 426,481 11/12/2024
6.0.35 210,953 10/8/2024
6.0.33 361,082 8/13/2024
6.0.32 233,761 7/9/2024
6.0.31 319,008 5/28/2024
6.0.30 189,156 5/14/2024
6.0.29 584,269 4/9/2024
6.0.28 565,864 3/12/2024
6.0.27 567,240 2/13/2024
6.0.26 744,369 1/9/2024
6.0.25 1,154,867 11/14/2023
6.0.24 536,227 10/24/2023
6.0.23 493,549 10/10/2023
6.0.22 1,070,115 9/12/2023
6.0.21 1,105,370 8/8/2023
6.0.20 1,084,878 7/11/2023
6.0.19 669,235 6/22/2023
6.0.18 476,885 6/13/2023
6.0.16 2,571,646 4/11/2023
6.0.15 1,321,339 3/14/2023
6.0.14 1,741,255 2/14/2023
6.0.13 2,433,569 1/10/2023
6.0.12 2,171,429 12/13/2022
6.0.11 3,363,584 11/7/2022
6.0.10 5,991,729 10/11/2022
6.0.9 5,134,800 9/13/2022
6.0.8 6,678,670 8/9/2022
6.0.7 6,529,409 7/12/2022
6.0.6 4,097,332 6/14/2022
6.0.5 6,355,627 5/10/2022
6.0.4 4,747,965 4/11/2022
6.0.3 5,303,757 3/8/2022
6.0.2 4,415,409 2/8/2022
6.0.1 7,141,352 12/14/2021
6.0.0 7,799,242 11/8/2021
6.0.0-rc.2.21480.5 60,964 10/12/2021
6.0.0-rc.1.21452.10 60,805 9/14/2021
6.0.0-preview.7.21378.4 41,607 8/10/2021
6.0.0-preview.6.21352.1 20,696 7/14/2021
6.0.0-preview.5.21301.9 40,092 6/15/2021
6.0.0-preview.4.21253.1 24,234 5/24/2021
6.0.0-preview.3.21201.2 44,688 4/8/2021
6.0.0-preview.2.21154.2 16,543 3/11/2021
6.0.0-preview.1.21102.2 32,599 2/12/2021
5.0.17 2,572,073 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 459,124 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 731,759 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 917,835 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 1,466,384 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 1,708,417 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 3,219,025 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 4,056,929 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 3,328,169 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 3,141,104 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 3,591,666 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 2,781,308 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 3,796,817 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 2,618,431 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 2,493,836 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 2,525,076 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 2,343,892 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 3,597,195 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 72,432 10/13/2020
5.0.0-rc.1.20451.13 55,066 9/14/2020
5.0.0-preview.8.20407.4 34,195 8/25/2020
5.0.0-preview.7.20365.15 33,199 7/21/2020
5.0.0-preview.6.20312.4 32,829 6/25/2020
5.0.0-preview.5.20278.2 17,109 6/10/2020
5.0.0-preview.4.20220.10 27,110 5/18/2020
5.0.0-preview.3.20181.2 38,903 4/23/2020
5.0.0-preview.2.20159.4 26,762 4/2/2020
5.0.0-preview.2.20120.8 14,876 3/16/2020
3.1.32 1,107,538 12/13/2022
3.1.31 187,848 11/8/2022
3.1.30 237,897 10/11/2022
3.1.29 732,877 9/13/2022
3.1.28 152,327 8/9/2022
3.1.27 127,005 7/12/2022
3.1.26 173,657 6/14/2022
3.1.25 339,657 5/10/2022
3.1.24 164,215 4/11/2022
3.1.23 399,660 3/8/2022
3.1.22 952,277 12/14/2021
3.1.21 1,011,270 11/7/2021
3.1.20 350,494 10/11/2021
3.1.19 600,776 9/14/2021
3.1.18 910,443 8/10/2021
3.1.17 569,354 7/13/2021
3.1.16 604,290 6/8/2021
3.1.15 814,124 5/11/2021
3.1.14 1,003,706 4/6/2021
3.1.13 1,218,991 3/9/2021
3.1.12 1,061,964 2/9/2021
3.1.11 1,417,532 1/12/2021
3.1.10 2,375,985 11/9/2020
3.1.9 3,512,422 10/13/2020
3.1.8 5,202,702 9/8/2020
3.1.7 3,070,337 8/11/2020
3.1.6 3,554,399 7/14/2020
3.1.5 4,358,295 6/9/2020
3.1.4 4,348,825 5/12/2020
3.1.3 5,916,103 3/24/2020
3.1.2 4,201,486 2/19/2020
3.1.1 4,189,502 1/14/2020
3.1.0 4,582,899 12/3/2019
3.1.0-preview3.19554.8 38,660 11/13/2019
3.1.0-preview2.19525.5 16,040 11/1/2019
3.1.0-preview1.19506.2 812,470 10/15/2019
3.0.3 56,264 2/19/2020
3.0.2 33,796 1/14/2020
3.0.1 484,550 11/18/2019
3.0.0 4,658,715 9/23/2019
3.0.0-rc1.19456.14 23,117 9/16/2019
3.0.0-preview9.19423.6 39,501 9/4/2019
3.0.0-preview8.19405.11 43,567 8/13/2019
3.0.0-preview7.19362.6 30,931 7/23/2019
3.0.0-preview6.19304.10 39,889 6/12/2019
3.0.0-preview5.19227.1 49,184 5/6/2019
3.0.0-preview4.19216.3 9,392 4/18/2019
3.0.0-preview3.19153.1 30,258 3/6/2019
3.0.0-preview.19074.3 16,353 1/29/2019
3.0.0-preview.18572.1 14,908 12/3/2018
2.3.0 7,948 1/14/2025
2.2.6 10,961,335 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 5,825,897 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 1,788,153 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 2,038,368 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 2,623,334 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 11,337,899 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 88,925 10/17/2018
2.2.0-preview2-35157 73,431 9/12/2018
2.2.0-preview1-35029 18,485 8/22/2018
2.1.14 2,115,944 11/18/2019
2.1.11 1,845,511 5/14/2019
2.1.8 2,234,747 2/12/2019
2.1.4 6,864,908 10/1/2018
2.1.3 3,240,147 9/11/2018
2.1.2 2,516,131 8/21/2018
2.1.1 12,512,590 6/18/2018
2.1.0 4,683,030 5/29/2018
2.1.0-rc1-final 52,317 5/6/2018
2.1.0-preview2-final 68,975 4/10/2018
2.1.0-preview1-final 207,478 2/26/2018
2.0.3 4,199,533 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,223,945 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 6,903,504 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 7,226,173 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 64,813 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 37,419 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 72,471 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 179,614 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 20,867 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.2 64,054 9/20/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 734,865 5/9/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 287,893 3/6/2017 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview4-final 330,161 11/16/2016 1.1.0-preview4-final is deprecated because it is no longer maintained.
1.1.0-msbuild3-final 48,483 1/27/2017 1.1.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.3 15,405 11/14/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 7,914 9/20/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 15,446 5/9/2017 1.0.1 is deprecated because it is no longer maintained.
1.0.0 563,228 3/6/2017 1.0.0 is deprecated because it is no longer maintained.
1.0.0-preview4-final 30,194 12/12/2016 1.0.0-preview4-final is deprecated because it is no longer maintained.
1.0.0-preview3-final 49,622 10/24/2016 1.0.0-preview3-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 384,708 6/27/2016 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 64,163 5/16/2016 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-msbuild3-final 37,211 1/27/2017 1.0.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.0-msbuild2-final 12,789 12/12/2016 1.0.0-msbuild2-final is deprecated because it is no longer maintained.
1.0.0-msbuild1-final 17,102 11/16/2016 1.0.0-msbuild1-final is deprecated because it is no longer maintained.