Microsoft.EntityFrameworkCore.Tools 9.0.0-preview.2.24128.4

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.
29
CheddarAuthService
Initial package creation
25
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.
25
CheddarDataService
Initial package creation
24
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.
21
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.
20
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.
20
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.
19
Microsoft.AspNetCore.App
Microsoft.AspNetCore.App
19
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.
19
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.
18
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
18
Microsoft.AspNetCore.App
Microsoft.AspNetCore.App
18
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. This package was built from the source at: https://github.com/aspnet/Universe/tree/244e037a222a7cd0a17feafb7f3a625fde40de97
17

.NET 8.0

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