Microsoft.EntityFrameworkCore.Tools 10.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.

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.
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.
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.
39
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
39
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
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.
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
36
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.
36
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
35
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.
35
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.
34
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
34

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