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.
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.
// Install Microsoft.EntityFrameworkCore.Tools as a Cake Addin
#addin nuget:?package=Microsoft.EntityFrameworkCore.Tools&version=8.0.11

// Install Microsoft.EntityFrameworkCore.Tools as a Cake Tool
#tool nuget:?package=Microsoft.EntityFrameworkCore.Tools&version=8.0.11                

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (290)

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.

ImmediaC.SimpleCms

ASP.NET Core based CMS

StatisticManagers-CMS

Page Display Auth Process

TrueSight

Package Description

GitHub repositories (507)

Showing the top 5 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 starting point for Clean Architecture with ASP.NET Core
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.
Version Downloads Last updated
9.0.1 84,978 1/14/2025
9.0.0 1,560,445 11/12/2024
9.0.0-rc.2.24474.1 60,027 10/8/2024
9.0.0-rc.1.24451.1 34,927 9/10/2024
9.0.0-preview.7.24405.3 19,840 8/13/2024
9.0.0-preview.6.24327.4 19,332 7/9/2024
9.0.0-preview.5.24306.3 13,339 6/11/2024
9.0.0-preview.4.24267.1 14,941 5/21/2024
9.0.0-preview.3.24172.4 103,608 4/11/2024
9.0.0-preview.2.24128.4 23,271 3/12/2024
9.0.0-preview.1.24081.2 39,525 2/13/2024
8.0.12 38,408 1/14/2025
8.0.11 1,403,612 11/12/2024
8.0.10 3,996,808 10/8/2024
8.0.8 5,813,518 8/13/2024
8.0.7 3,946,760 7/9/2024
8.0.6 4,746,319 5/28/2024
8.0.5 1,846,345 5/14/2024
8.0.4 4,936,653 4/9/2024
8.0.3 3,445,601 3/12/2024
8.0.2 4,199,612 2/13/2024
8.0.1 3,761,681 1/9/2024
8.0.0 5,197,761 11/14/2023
8.0.0-rc.2.23480.1 70,738 10/10/2023
8.0.0-rc.1.23419.6 38,282 9/12/2023
8.0.0-preview.7.23375.4 30,330 8/8/2023
8.0.0-preview.6.23329.4 41,123 7/11/2023
8.0.0-preview.5.23280.1 37,812 6/13/2023
8.0.0-preview.4.23259.3 34,501 5/16/2023
8.0.0-preview.3.23174.2 61,713 4/11/2023
8.0.0-preview.2.23128.3 35,107 3/14/2023
8.0.0-preview.1.23111.4 77,071 2/21/2023
7.0.20 728,039 5/28/2024
7.0.19 147,616 5/14/2024
7.0.18 434,090 4/9/2024
7.0.17 378,099 3/12/2024
7.0.16 527,192 2/13/2024
7.0.15 810,665 1/9/2024
7.0.14 1,731,313 11/14/2023
7.0.13 2,038,094 10/24/2023
7.0.12 1,537,389 10/10/2023
7.0.11 3,218,502 9/12/2023
7.0.10 3,225,262 8/8/2023
7.0.9 2,562,254 7/11/2023
7.0.8 2,170,627 6/22/2023
7.0.7 1,032,184 6/13/2023
7.0.5 6,921,975 4/11/2023
7.0.4 3,118,094 3/14/2023
7.0.3 3,859,078 2/14/2023
7.0.2 4,675,938 1/10/2023
7.0.1 2,823,360 12/13/2022
7.0.0 3,505,213 11/7/2022
7.0.0-rc.2.22472.11 76,088 10/11/2022
7.0.0-rc.1.22426.7 34,854 9/14/2022
7.0.0-preview.7.22376.2 31,138 8/9/2022
7.0.0-preview.6.22329.4 23,227 7/12/2022
7.0.0-preview.5.22302.2 20,604 6/14/2022
7.0.0-preview.4.22229.2 26,418 5/10/2022
7.0.0-preview.3.22175.1 42,348 4/13/2022
7.0.0-preview.2.22153.1 16,839 3/14/2022
7.0.0-preview.1.22076.6 13,592 2/17/2022
6.0.36 88,931 11/12/2024
6.0.35 112,317 10/8/2024
6.0.33 233,449 8/13/2024
6.0.32 176,624 7/9/2024
6.0.31 243,662 5/28/2024
6.0.30 139,322 5/14/2024
6.0.29 459,271 4/9/2024
6.0.28 455,560 3/12/2024
6.0.27 461,728 2/13/2024
6.0.26 650,823 1/9/2024
6.0.25 995,731 11/14/2023
6.0.24 481,858 10/24/2023
6.0.23 447,542 10/10/2023
6.0.22 938,091 9/12/2023
6.0.21 973,653 8/8/2023
6.0.20 941,467 7/11/2023
6.0.19 606,457 6/22/2023
6.0.18 438,817 6/13/2023
6.0.16 2,239,026 4/11/2023
6.0.15 1,221,491 3/14/2023
6.0.14 1,602,011 2/14/2023
6.0.13 2,278,916 1/10/2023
6.0.12 1,970,125 12/13/2022
6.0.11 3,181,570 11/7/2022
6.0.10 5,617,857 10/11/2022
6.0.9 4,823,210 9/13/2022
6.0.8 6,298,806 8/9/2022
6.0.7 6,136,180 7/12/2022
6.0.6 3,831,509 6/14/2022
6.0.5 6,046,616 5/10/2022
6.0.4 4,499,291 4/11/2022
6.0.3 5,068,008 3/8/2022
6.0.2 4,185,815 2/8/2022
6.0.1 6,782,670 12/14/2021
6.0.0 7,197,209 11/8/2021
6.0.0-rc.2.21480.5 55,105 10/12/2021
6.0.0-rc.1.21452.10 57,180 9/14/2021
6.0.0-preview.7.21378.4 38,750 8/10/2021
6.0.0-preview.6.21352.1 19,866 7/14/2021
6.0.0-preview.5.21301.9 36,249 6/15/2021
6.0.0-preview.4.21253.1 19,004 5/24/2021
6.0.0-preview.3.21201.2 38,710 4/8/2021
6.0.0-preview.2.21154.2 14,678 3/11/2021
6.0.0-preview.1.21102.2 31,367 2/12/2021
5.0.17 2,330,913 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 440,588 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 701,577 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 899,995 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 1,392,896 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 1,632,098 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 3,107,211 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 3,888,503 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 3,203,062 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 3,033,586 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 3,470,849 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 2,683,798 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 3,649,416 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 2,523,669 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 2,422,383 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 2,462,117 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 2,260,138 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 3,429,824 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 70,000 10/13/2020
5.0.0-rc.1.20451.13 52,962 9/14/2020
5.0.0-preview.8.20407.4 33,725 8/25/2020
5.0.0-preview.7.20365.15 32,777 7/21/2020
5.0.0-preview.6.20312.4 32,237 6/25/2020
5.0.0-preview.5.20278.2 15,912 6/10/2020
5.0.0-preview.4.20220.10 26,390 5/18/2020
5.0.0-preview.3.20181.2 38,468 4/23/2020
5.0.0-preview.2.20159.4 26,200 4/2/2020
5.0.0-preview.2.20120.8 14,441 3/16/2020
3.1.32 856,142 12/13/2022
3.1.31 165,639 11/8/2022
3.1.30 209,047 10/11/2022
3.1.29 603,227 9/13/2022
3.1.28 140,264 8/9/2022
3.1.27 114,345 7/12/2022
3.1.26 158,464 6/14/2022
3.1.25 321,358 5/10/2022
3.1.24 158,023 4/11/2022
3.1.23 382,449 3/8/2022
3.1.22 882,153 12/14/2021
3.1.21 977,554 11/7/2021
3.1.20 335,314 10/11/2021
3.1.19 578,156 9/14/2021
3.1.18 873,090 8/10/2021
3.1.17 542,433 7/13/2021
3.1.16 583,747 6/8/2021
3.1.15 791,236 5/11/2021
3.1.14 963,510 4/6/2021
3.1.13 1,191,543 3/9/2021
3.1.12 1,042,177 2/9/2021
3.1.11 1,379,995 1/12/2021
3.1.10 2,319,218 11/9/2020
3.1.9 3,435,351 10/13/2020
3.1.8 5,103,278 9/8/2020
3.1.7 3,006,983 8/11/2020
3.1.6 3,453,527 7/14/2020
3.1.5 4,258,734 6/9/2020
3.1.4 4,181,005 5/12/2020
3.1.3 5,768,753 3/24/2020
3.1.2 4,129,336 2/19/2020
3.1.1 4,109,396 1/14/2020
3.1.0 4,464,808 12/3/2019
3.1.0-preview3.19554.8 37,709 11/13/2019
3.1.0-preview2.19525.5 15,451 11/1/2019
3.1.0-preview1.19506.2 782,366 10/15/2019
3.0.3 51,579 2/19/2020
3.0.2 32,277 1/14/2020
3.0.1 477,415 11/18/2019
3.0.0 4,541,376 9/23/2019
3.0.0-rc1.19456.14 22,757 9/16/2019
3.0.0-preview9.19423.6 38,903 9/4/2019
3.0.0-preview8.19405.11 43,003 8/13/2019
3.0.0-preview7.19362.6 30,331 7/23/2019
3.0.0-preview6.19304.10 39,504 6/12/2019
3.0.0-preview5.19227.1 47,672 5/6/2019
3.0.0-preview4.19216.3 9,125 4/18/2019
3.0.0-preview3.19153.1 29,680 3/6/2019
3.0.0-preview.19074.3 15,933 1/29/2019
3.0.0-preview.18572.1 14,488 12/3/2018
2.3.0 155 1/14/2025
2.2.6 10,640,561 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 5,739,151 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 1,770,077 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 2,007,919 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 2,587,459 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 10,908,169 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 88,336 10/17/2018
2.2.0-preview2-35157 67,420 9/12/2018
2.2.0-preview1-35029 18,119 8/22/2018
2.1.14 2,031,720 11/18/2019
2.1.11 1,826,319 5/14/2019
2.1.8 2,216,614 2/12/2019
2.1.4 6,778,712 10/1/2018
2.1.3 3,211,616 9/11/2018
2.1.2 2,482,808 8/21/2018
2.1.1 11,516,558 6/18/2018
2.1.0 4,619,828 5/29/2018
2.1.0-rc1-final 51,642 5/6/2018
2.1.0-preview2-final 67,834 4/10/2018
2.1.0-preview1-final 203,731 2/26/2018
2.0.3 4,084,591 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,139,194 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 6,731,508 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 7,091,214 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 63,745 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 36,931 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 67,376 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 177,438 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 20,211 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.2 63,319 9/20/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 716,836 5/9/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 282,788 3/6/2017 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview4-final 327,845 11/16/2016 1.1.0-preview4-final is deprecated because it is no longer maintained.
1.1.0-msbuild3-final 47,935 1/27/2017 1.1.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.3 14,681 11/14/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 7,493 9/20/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 14,916 5/9/2017 1.0.1 is deprecated because it is no longer maintained.
1.0.0 452,357 3/6/2017 1.0.0 is deprecated because it is no longer maintained.
1.0.0-preview4-final 29,796 12/12/2016 1.0.0-preview4-final is deprecated because it is no longer maintained.
1.0.0-preview3-final 49,224 10/24/2016 1.0.0-preview3-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 383,813 6/27/2016 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 63,739 5/16/2016 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-msbuild3-final 36,656 1/27/2017 1.0.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.0-msbuild2-final 11,156 12/12/2016 1.0.0-msbuild2-final is deprecated because it is no longer maintained.
1.0.0-msbuild1-final 16,535 11/16/2016 1.0.0-msbuild1-final is deprecated because it is no longer maintained.