Microsoft.EntityFrameworkCore.Tools 8.0.3

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.

Showing the top 20 packages that depend on Microsoft.EntityFrameworkCore.Tools.

Packages Downloads
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.
49
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.
43
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.
42
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.
41
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
41
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
40
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.
40
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.
39
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
39

Version Downloads Last updated
10.0.1 4 12/10/2025
10.0.0 5 11/13/2025
10.0.0-rc.2.25502.107 8 10/14/2025
10.0.0-rc.1.25451.107 16 9/10/2025
10.0.0-preview.7.25380.108 21 8/15/2025
10.0.0-preview.6.25358.103 19 7/17/2025
10.0.0-preview.5.25277.114 31 6/8/2025
10.0.0-preview.4.25258.110 24 5/15/2025
10.0.0-preview.3.25171.6 24 4/16/2025
10.0.0-preview.2.25163.8 28 3/22/2025
10.0.0-preview.1.25081.1 21 2/25/2025
9.0.11 6 11/13/2025
9.0.10 10 10/14/2025
9.0.9 15 9/10/2025
9.0.8 21 8/7/2025
9.0.7 21 7/9/2025
9.0.6 25 6/12/2025
9.0.5 22 5/16/2025
9.0.4 29 4/16/2025
9.0.3 28 3/14/2025
9.0.2 26 2/19/2025
9.0.1 35 2/19/2025
9.0.0 29 1/6/2025
9.0.0-rc.2.24474.1 30 10/8/2024
9.0.0-rc.1.24451.1 33 9/11/2024
9.0.0-preview.7.24405.3 35 8/15/2024
9.0.0-preview.6.24327.4 32 7/11/2024
9.0.0-preview.5.24306.3 30 8/8/2024
9.0.0-preview.4.24267.1 31 6/25/2024
9.0.0-preview.3.24172.4 30 5/3/2024
9.0.0-preview.2.24128.4 39 4/21/2024
9.0.0-preview.1.24081.2 34 3/7/2024
8.0.22 7 11/13/2025
8.0.21 6 10/14/2025
8.0.20 13 9/10/2025
8.0.19 18 8/7/2025
8.0.18 23 7/9/2025
8.0.17 33 6/12/2025
8.0.16 24 5/16/2025
8.0.15 28 4/16/2025
8.0.14 23 3/14/2025
8.0.13 30 2/19/2025
8.0.12 32 2/19/2025
8.0.11 30 1/6/2025
8.0.10 30 10/8/2024
8.0.8 33 8/13/2024
8.0.7 34 8/11/2024
8.0.6 36 8/13/2024
8.0.5 33 8/5/2024
8.0.4 39 5/3/2024
8.0.3 36 4/19/2024
8.0.2 37 3/5/2024
8.0.1 41 3/5/2024
8.0.0 42 3/5/2024
8.0.0-rc.2.23480.1 34 3/2/2024
8.0.0-rc.1.23419.6 34 3/7/2024
8.0.0-preview.7.23375.4 31 3/7/2024
8.0.0-preview.6.23329.4 31 3/7/2024
8.0.0-preview.5.23280.1 38 7/2/2023
8.0.0-preview.4.23259.3 33 3/7/2024
8.0.0-preview.3.23174.2 33 3/7/2024
8.0.0-preview.2.23128.3 34 3/7/2024
8.0.0-preview.1.23111.4 42 3/7/2024
7.0.20 35 8/12/2024
7.0.19 35 6/29/2024
7.0.18 36 5/3/2024
7.0.17 39 4/18/2024
7.0.16 37 3/5/2024
7.0.15 50 3/3/2024
7.0.14 46 3/5/2024
7.0.13 40 3/5/2024
7.0.12 45 3/5/2024
7.0.11 39 3/5/2024
7.0.10 36 2/29/2024
7.0.9 41 3/4/2024
7.0.8 44 3/5/2024
7.0.7 39 3/5/2024
7.0.5 36 3/5/2024
7.0.4 37 3/5/2024
7.0.3 40 3/5/2024
7.0.2 38 3/5/2024
7.0.1 34 3/5/2024
7.0.0 41 3/5/2024
7.0.0-rc.2.22472.11 37 3/7/2024
7.0.0-rc.1.22426.7 39 3/7/2024
7.0.0-preview.7.22376.2 36 3/7/2024
7.0.0-preview.6.22329.4 33 3/7/2024
7.0.0-preview.5.22302.2 29 3/7/2024
7.0.0-preview.4.22229.2 36 3/7/2024
7.0.0-preview.3.22175.1 39 3/6/2024
7.0.0-preview.2.22153.1 41 3/7/2024
7.0.0-preview.1.22076.6 33 3/7/2024
6.0.36 31 1/6/2025
6.0.35 32 10/8/2024
6.0.33 29 8/13/2024
6.0.32 34 8/8/2024
6.0.31 38 8/14/2024
6.0.30 31 8/8/2024
6.0.29 34 5/3/2024
6.0.28 37 4/20/2024
6.0.27 37 3/5/2024
6.0.26 39 3/5/2024
6.0.25 38 3/5/2024
6.0.24 39 3/5/2024
6.0.23 43 3/5/2024
6.0.22 33 3/5/2024
6.0.21 42 3/5/2024
6.0.20 37 3/5/2024
6.0.19 36 3/5/2024
6.0.18 40 3/4/2024
6.0.16 40 3/3/2024
6.0.15 34 3/5/2024
6.0.14 37 3/5/2024
6.0.13 36 3/5/2024
6.0.12 42 3/3/2024
6.0.11 45 3/3/2024
6.0.10 39 3/4/2024
6.0.9 45 3/1/2024
6.0.8 35 3/5/2024
6.0.7 39 3/5/2024
6.0.6 36 3/5/2024
6.0.5 41 3/5/2024
6.0.4 39 3/5/2024
6.0.3 42 3/5/2024
6.0.2 34 3/5/2024
6.0.1 45 3/5/2024
6.0.0 36 3/5/2024
6.0.0-rc.2.21480.5 35 3/7/2024
6.0.0-rc.1.21452.10 27 3/7/2024
6.0.0-preview.7.21378.4 40 3/7/2024
6.0.0-preview.6.21352.1 36 3/7/2024
6.0.0-preview.5.21301.9 30 3/7/2024
6.0.0-preview.4.21253.1 28 3/7/2024
6.0.0-preview.3.21201.2 39 3/7/2024
6.0.0-preview.2.21154.2 31 3/7/2024
6.0.0-preview.1.21102.2 40 3/7/2024
5.0.17 38 3/5/2024
5.0.16 43 3/5/2024
5.0.15 32 3/5/2024
5.0.14 48 3/1/2024
5.0.13 41 3/5/2024
5.0.12 44 3/4/2024
5.0.11 42 3/5/2024
5.0.10 39 3/5/2024
5.0.9 43 3/5/2024
5.0.8 35 3/5/2024
5.0.7 37 3/5/2024
5.0.6 41 3/5/2024
5.0.5 37 3/5/2024
5.0.4 39 3/2/2024
5.0.3 35 3/5/2024
5.0.2 39 3/5/2024
5.0.1 38 3/5/2024
5.0.0 43 4/12/2022
5.0.0-rc.2.20475.6 34 3/7/2024
5.0.0-rc.1.20451.13 31 3/7/2024
5.0.0-preview.8.20407.4 34 3/7/2024
5.0.0-preview.7.20365.15 30 3/7/2024
5.0.0-preview.6.20312.4 38 3/7/2024
5.0.0-preview.5.20278.2 35 3/6/2024
5.0.0-preview.4.20220.10 36 3/7/2024
5.0.0-preview.3.20181.2 32 3/7/2024
5.0.0-preview.2.20159.4 36 3/7/2024
5.0.0-preview.2.20120.8 31 3/7/2024
3.1.32 35 3/5/2024
3.1.31 40 3/5/2024
3.1.30 32 3/5/2024
3.1.29 37 3/4/2024
3.1.28 41 3/5/2024
3.1.27 35 3/5/2024
3.1.26 41 3/5/2024
3.1.25 33 3/5/2024
3.1.24 43 3/5/2024
3.1.23 48 3/5/2024
3.1.22 39 3/5/2024
3.1.21 39 3/5/2024
3.1.20 40 3/5/2024
3.1.19 35 3/5/2024
3.1.18 41 3/5/2024
3.1.17 35 3/5/2024
3.1.16 39 3/5/2024
3.1.15 44 3/5/2024
3.1.14 35 3/2/2024
3.1.13 44 3/3/2024
3.1.12 37 3/5/2024
3.1.11 37 3/5/2024
3.1.10 36 3/5/2024
3.1.9 36 3/5/2024
3.1.8 41 3/2/2024
3.1.7 51 3/5/2024
3.1.6 41 3/5/2024
3.1.5 36 3/5/2024
3.1.4 39 3/5/2024
3.1.3 38 3/5/2024
3.1.2 41 3/5/2024
3.1.1 36 3/5/2024
3.1.0 38 3/5/2024
3.1.0-preview3.19554.8 44 3/7/2024
3.1.0-preview2.19525.5 38 3/7/2024
3.1.0-preview1.19506.2 31 3/7/2024
3.0.3 35 3/5/2024
3.0.2 39 3/5/2024
3.0.1 42 3/1/2024
3.0.0 38 3/5/2024
3.0.0-rc1.19456.14 32 3/7/2024
3.0.0-preview9.19423.6 34 3/7/2024
3.0.0-preview8.19405.11 32 3/7/2024
3.0.0-preview7.19362.6 36 3/7/2024
3.0.0-preview6.19304.10 30 3/7/2024
3.0.0-preview5.19227.1 32 3/7/2024
3.0.0-preview4.19216.3 31 3/7/2024
3.0.0-preview3.19153.1 31 3/7/2024
3.0.0-preview.19074.3 31 3/7/2024
3.0.0-preview.18572.1 37 3/7/2024
2.3.0 30 2/19/2025
2.2.6 37 3/5/2024
2.2.4 44 3/5/2024
2.2.3 48 3/5/2024
2.2.2 42 3/5/2024
2.2.1 34 2/27/2024
2.2.0 39 3/5/2024
2.2.0-preview3-35497 35 3/7/2024
2.2.0-preview2-35157 31 3/7/2024
2.2.0-preview1-35029 34 3/7/2024
2.1.14 41 3/5/2024
2.1.11 39 3/5/2024
2.1.8 40 3/5/2024
2.1.4 35 2/29/2024
2.1.3 36 3/5/2024
2.1.2 35 3/5/2024
2.1.1 40 3/5/2024
2.1.0 45 3/5/2024
2.1.0-rc1-final 42 3/2/2024
2.1.0-preview2-final 39 2/27/2024
2.1.0-preview1-final 34 3/7/2024
2.0.3 35 3/5/2024
2.0.2 39 3/5/2024
2.0.1 40 3/5/2024
2.0.0 42 3/5/2024
2.0.0-preview2-final 36 3/7/2024
2.0.0-preview1-final 42 3/7/2024
1.1.6 37 3/5/2024
1.1.5 41 3/2/2024
1.1.4 43 3/5/2024
1.1.2 42 3/5/2024
1.1.1 36 3/5/2024
1.1.0 35 3/5/2024
1.1.0-preview4-final 37 3/7/2024
1.1.0-msbuild3-final 37 3/7/2024
1.0.3 37 3/5/2024
1.0.2 33 3/5/2024
1.0.1 44 3/5/2024
1.0.0 34 3/5/2024
1.0.0-preview4-final 30 3/7/2024
1.0.0-preview3-final 34 3/7/2024
1.0.0-preview2-final 39 3/7/2024
1.0.0-preview1-final 42 3/7/2024
1.0.0-msbuild3-final 37 3/3/2024
1.0.0-msbuild2-final 39 3/4/2024
1.0.0-msbuild1-final 39 3/3/2024