Microsoft.EntityFrameworkCore.Tools 10.0.0-preview.3.25171.6

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.
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.
23
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.
22
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
Microsoft.AspNetCore.All
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.All
Microsoft.AspNetCore.All
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. This package was built from the source at: https://github.com/aspnet/Universe/tree/244e037a222a7cd0a17feafb7f3a625fde40de97
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.All
Microsoft.AspNetCore.All
19

.NET 10.0

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