Microsoft.EntityFrameworkCore.Tools 8.0.32

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.
50
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
44
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
43
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
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
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
Microsoft.AspNetCore.All
39
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
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.
38
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.
37
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
37

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