Microsoft.EntityFrameworkCore.Tools 8.0.12

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.12                
NuGet\Install-Package Microsoft.EntityFrameworkCore.Tools -Version 8.0.12                
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.12">
  <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.12                
#r "nuget: Microsoft.EntityFrameworkCore.Tools, 8.0.12"                
#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.12

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

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

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

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 328,268 1/14/2025
9.0.0 1,803,159 11/12/2024
9.0.0-rc.2.24474.1 63,074 10/8/2024
9.0.0-rc.1.24451.1 36,124 9/10/2024
9.0.0-preview.7.24405.3 20,031 8/13/2024
9.0.0-preview.6.24327.4 19,604 7/9/2024
9.0.0-preview.5.24306.3 13,461 6/11/2024
9.0.0-preview.4.24267.1 15,166 5/21/2024
9.0.0-preview.3.24172.4 104,017 4/11/2024
9.0.0-preview.2.24128.4 23,525 3/12/2024
9.0.0-preview.1.24081.2 40,072 2/13/2024
8.0.12 153,209 1/14/2025
8.0.11 1,658,176 11/12/2024
8.0.10 4,303,379 10/8/2024
8.0.8 6,075,257 8/13/2024
8.0.7 4,071,029 7/9/2024
8.0.6 4,865,218 5/28/2024
8.0.5 1,891,035 5/14/2024
8.0.4 5,053,215 4/9/2024
8.0.3 3,513,824 3/12/2024
8.0.2 4,308,319 2/13/2024
8.0.1 3,817,024 1/9/2024
8.0.0 5,283,887 11/14/2023
8.0.0-rc.2.23480.1 70,996 10/10/2023
8.0.0-rc.1.23419.6 38,363 9/12/2023
8.0.0-preview.7.23375.4 30,395 8/8/2023
8.0.0-preview.6.23329.4 41,319 7/11/2023
8.0.0-preview.5.23280.1 37,910 6/13/2023
8.0.0-preview.4.23259.3 34,713 5/16/2023
8.0.0-preview.3.23174.2 62,407 4/11/2023
8.0.0-preview.2.23128.3 35,301 3/14/2023
8.0.0-preview.1.23111.4 77,145 2/21/2023
7.0.20 758,858 5/28/2024
7.0.19 151,732 5/14/2024
7.0.18 443,488 4/9/2024
7.0.17 383,022 3/12/2024
7.0.16 532,991 2/13/2024
7.0.15 819,347 1/9/2024
7.0.14 1,749,332 11/14/2023
7.0.13 2,051,081 10/24/2023
7.0.12 1,550,033 10/10/2023
7.0.11 3,239,701 9/12/2023
7.0.10 3,244,396 8/8/2023
7.0.9 2,583,633 7/11/2023
7.0.8 2,180,499 6/22/2023
7.0.7 1,037,214 6/13/2023
7.0.5 6,961,399 4/11/2023
7.0.4 3,134,028 3/14/2023
7.0.3 3,880,137 2/14/2023
7.0.2 4,721,355 1/10/2023
7.0.1 2,836,882 12/13/2022
7.0.0 3,523,859 11/7/2022
7.0.0-rc.2.22472.11 76,418 10/11/2022
7.0.0-rc.1.22426.7 35,016 9/14/2022
7.0.0-preview.7.22376.2 31,249 8/9/2022
7.0.0-preview.6.22329.4 23,415 7/12/2022
7.0.0-preview.5.22302.2 20,757 6/14/2022
7.0.0-preview.4.22229.2 26,552 5/10/2022
7.0.0-preview.3.22175.1 42,429 4/13/2022
7.0.0-preview.2.22153.1 16,984 3/14/2022
7.0.0-preview.1.22076.6 13,647 2/17/2022
6.0.36 106,171 11/12/2024
6.0.35 119,830 10/8/2024
6.0.33 245,780 8/13/2024
6.0.32 180,668 7/9/2024
6.0.31 248,504 5/28/2024
6.0.30 142,767 5/14/2024
6.0.29 467,264 4/9/2024
6.0.28 463,867 3/12/2024
6.0.27 469,600 2/13/2024
6.0.26 658,616 1/9/2024
6.0.25 1,005,962 11/14/2023
6.0.24 486,425 10/24/2023
6.0.23 450,444 10/10/2023
6.0.22 949,291 9/12/2023
6.0.21 982,721 8/8/2023
6.0.20 950,911 7/11/2023
6.0.19 611,014 6/22/2023
6.0.18 441,517 6/13/2023
6.0.16 2,253,484 4/11/2023
6.0.15 1,227,440 3/14/2023
6.0.14 1,610,697 2/14/2023
6.0.13 2,288,558 1/10/2023
6.0.12 1,983,841 12/13/2022
6.0.11 3,196,260 11/7/2022
6.0.10 5,645,409 10/11/2022
6.0.9 4,842,979 9/13/2022
6.0.8 6,323,574 8/9/2022
6.0.7 6,167,631 7/12/2022
6.0.6 3,847,630 6/14/2022
6.0.5 6,066,197 5/10/2022
6.0.4 4,517,649 4/11/2022
6.0.3 5,081,977 3/8/2022
6.0.2 4,199,558 2/8/2022
6.0.1 6,804,746 12/14/2021
6.0.0 7,239,615 11/8/2021
6.0.0-rc.2.21480.5 55,210 10/12/2021
6.0.0-rc.1.21452.10 57,346 9/14/2021
6.0.0-preview.7.21378.4 38,849 8/10/2021
6.0.0-preview.6.21352.1 19,924 7/14/2021
6.0.0-preview.5.21301.9 36,453 6/15/2021
6.0.0-preview.4.21253.1 19,028 5/24/2021
6.0.0-preview.3.21201.2 38,759 4/8/2021
6.0.0-preview.2.21154.2 14,699 3/11/2021
6.0.0-preview.1.21102.2 31,452 2/12/2021
5.0.17 2,344,342 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 441,700 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 703,308 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 901,029 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 1,396,406 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 1,637,134 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 3,113,121 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 3,896,158 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 3,208,699 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 3,039,131 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 3,475,542 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 2,688,325 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 3,661,111 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 2,528,563 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 2,425,631 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 2,464,759 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 2,262,839 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 3,437,302 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 70,137 10/13/2020
5.0.0-rc.1.20451.13 53,044 9/14/2020
5.0.0-preview.8.20407.4 33,807 8/25/2020
5.0.0-preview.7.20365.15 32,809 7/21/2020
5.0.0-preview.6.20312.4 32,314 6/25/2020
5.0.0-preview.5.20278.2 15,978 6/10/2020
5.0.0-preview.4.20220.10 26,439 5/18/2020
5.0.0-preview.3.20181.2 38,517 4/23/2020
5.0.0-preview.2.20159.4 26,276 4/2/2020
5.0.0-preview.2.20120.8 14,470 3/16/2020
3.1.32 870,538 12/13/2022
3.1.31 167,180 11/8/2022
3.1.30 211,085 10/11/2022
3.1.29 611,627 9/13/2022
3.1.28 140,925 8/9/2022
3.1.27 114,954 7/12/2022
3.1.26 159,457 6/14/2022
3.1.25 322,760 5/10/2022
3.1.24 158,471 4/11/2022
3.1.23 383,688 3/8/2022
3.1.22 886,063 12/14/2021
3.1.21 979,935 11/7/2021
3.1.20 336,141 10/11/2021
3.1.19 579,954 9/14/2021
3.1.18 875,709 8/10/2021
3.1.17 544,625 7/13/2021
3.1.16 584,594 6/8/2021
3.1.15 792,742 5/11/2021
3.1.14 965,320 4/6/2021
3.1.13 1,193,730 3/9/2021
3.1.12 1,043,766 2/9/2021
3.1.11 1,382,345 1/12/2021
3.1.10 2,322,874 11/9/2020
3.1.9 3,439,302 10/13/2020
3.1.8 5,108,798 9/8/2020
3.1.7 3,010,125 8/11/2020
3.1.6 3,458,227 7/14/2020
3.1.5 4,263,929 6/9/2020
3.1.4 4,191,437 5/12/2020
3.1.3 5,777,533 3/24/2020
3.1.2 4,133,960 2/19/2020
3.1.1 4,114,348 1/14/2020
3.1.0 4,472,018 12/3/2019
3.1.0-preview3.19554.8 37,741 11/13/2019
3.1.0-preview2.19525.5 15,518 11/1/2019
3.1.0-preview1.19506.2 784,012 10/15/2019
3.0.3 51,666 2/19/2020
3.0.2 32,362 1/14/2020
3.0.1 478,028 11/18/2019
3.0.0 4,548,055 9/23/2019
3.0.0-rc1.19456.14 22,787 9/16/2019
3.0.0-preview9.19423.6 39,024 9/4/2019
3.0.0-preview8.19405.11 43,062 8/13/2019
3.0.0-preview7.19362.6 30,374 7/23/2019
3.0.0-preview6.19304.10 39,533 6/12/2019
3.0.0-preview5.19227.1 47,760 5/6/2019
3.0.0-preview4.19216.3 9,147 4/18/2019
3.0.0-preview3.19153.1 29,763 3/6/2019
3.0.0-preview.19074.3 15,980 1/29/2019
3.0.0-preview.18572.1 14,512 12/3/2018
2.3.0 358 1/14/2025
2.2.6 10,660,867 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 5,745,470 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 1,771,286 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 2,009,332 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 2,590,041 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 10,932,860 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 88,369 10/17/2018
2.2.0-preview2-35157 67,986 9/12/2018
2.2.0-preview1-35029 18,169 8/22/2018
2.1.14 2,036,899 11/18/2019
2.1.11 1,827,525 5/14/2019
2.1.8 2,217,313 2/12/2019
2.1.4 6,782,499 10/1/2018
2.1.3 3,212,911 9/11/2018
2.1.2 2,484,107 8/21/2018
2.1.1 11,583,011 6/18/2018
2.1.0 4,623,412 5/29/2018
2.1.0-rc1-final 51,678 5/6/2018
2.1.0-preview2-final 67,935 4/10/2018
2.1.0-preview1-final 203,992 2/26/2018
2.0.3 4,090,327 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,144,535 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 6,742,208 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 7,098,985 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 63,805 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 36,955 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 67,889 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 177,592 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 20,237 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.2 63,376 9/20/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 718,014 5/9/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 283,208 3/6/2017 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview4-final 327,942 11/16/2016 1.1.0-preview4-final is deprecated because it is no longer maintained.
1.1.0-msbuild3-final 47,966 1/27/2017 1.1.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.3 14,738 11/14/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 7,519 9/20/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 14,954 5/9/2017 1.0.1 is deprecated because it is no longer maintained.
1.0.0 457,568 3/6/2017 1.0.0 is deprecated because it is no longer maintained.
1.0.0-preview4-final 29,812 12/12/2016 1.0.0-preview4-final is deprecated because it is no longer maintained.
1.0.0-preview3-final 49,245 10/24/2016 1.0.0-preview3-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 383,836 6/27/2016 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 63,755 5/16/2016 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-msbuild3-final 36,683 1/27/2017 1.0.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.0-msbuild2-final 11,308 12/12/2016 1.0.0-msbuild2-final is deprecated because it is no longer maintained.
1.0.0-msbuild1-final 16,551 11/16/2016 1.0.0-msbuild1-final is deprecated because it is no longer maintained.