Microsoft.EntityFrameworkCore.Tools 8.0.8

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 3.6 or higher.

dotnet add package Microsoft.EntityFrameworkCore.Tools --version 8.0.8                
NuGet\Install-Package Microsoft.EntityFrameworkCore.Tools -Version 8.0.8                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.8">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.EntityFrameworkCore.Tools --version 8.0.8                
#r "nuget: Microsoft.EntityFrameworkCore.Tools, 8.0.8"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.EntityFrameworkCore.Tools as a Cake Addin
#addin nuget:?package=Microsoft.EntityFrameworkCore.Tools&version=8.0.8

// Install Microsoft.EntityFrameworkCore.Tools as a Cake Tool
#tool nuget:?package=Microsoft.EntityFrameworkCore.Tools&version=8.0.8                

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.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (283)

Showing the top 5 NuGet packages that depend on Microsoft.EntityFrameworkCore.Tools:

Package Downloads
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.

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.

ImmediaC.SimpleCms

ASP.NET Core based CMS

StatisticManagers-CMS

TopPageBug Fix + kendisi de hariç tutulacak şekilde ayarlandı

TrueSight

Package Description

GitHub repositories (483)

Showing the top 5 popular GitHub repositories that depend on Microsoft.EntityFrameworkCore.Tools:

Repository Stars
jellyfin/jellyfin
The Free Software Media System
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
ardalis/CleanArchitecture
Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
Version Downloads Last updated
9.0.0-rc.1.24451.1 15,013 9/10/2024
9.0.0-preview.7.24405.3 14,752 8/13/2024
9.0.0-preview.6.24327.4 15,261 7/9/2024
9.0.0-preview.5.24306.3 11,847 6/11/2024
9.0.0-preview.4.24267.1 12,215 5/21/2024
9.0.0-preview.3.24172.4 91,012 4/11/2024
9.0.0-preview.2.24128.4 20,610 3/12/2024
9.0.0-preview.1.24081.2 35,982 2/13/2024
8.0.8 2,536,216 8/13/2024
8.0.7 2,428,192 7/9/2024
8.0.6 3,323,095 5/28/2024
8.0.5 1,355,969 5/14/2024
8.0.4 3,674,277 4/9/2024
8.0.3 2,715,559 3/12/2024
8.0.2 3,291,420 2/13/2024
8.0.1 3,195,575 1/9/2024
8.0.0 4,229,498 11/14/2023
8.0.0-rc.2.23480.1 67,311 10/10/2023
8.0.0-rc.1.23419.6 36,686 9/12/2023
8.0.0-preview.7.23375.4 29,418 8/8/2023
8.0.0-preview.6.23329.4 37,751 7/11/2023
8.0.0-preview.5.23280.1 33,399 6/13/2023
8.0.0-preview.4.23259.3 31,299 5/16/2023
8.0.0-preview.3.23174.2 55,203 4/11/2023
8.0.0-preview.2.23128.3 33,051 3/14/2023
8.0.0-preview.1.23111.4 76,120 2/21/2023
7.0.20 383,752 5/28/2024
7.0.19 112,541 5/14/2024
7.0.18 320,942 4/9/2024
7.0.17 316,956 3/12/2024
7.0.16 465,074 2/13/2024
7.0.15 721,754 1/9/2024
7.0.14 1,555,743 11/14/2023
7.0.13 1,894,509 10/24/2023
7.0.12 1,413,237 10/10/2023
7.0.11 2,899,567 9/12/2023
7.0.10 2,985,723 8/8/2023
7.0.9 2,362,484 7/11/2023
7.0.8 2,035,092 6/22/2023
7.0.7 973,078 6/13/2023
7.0.5 6,512,867 4/11/2023
7.0.4 2,955,475 3/14/2023
7.0.3 3,637,925 2/14/2023
7.0.2 4,298,902 1/10/2023
7.0.1 2,667,983 12/13/2022
7.0.0 3,319,955 11/7/2022
7.0.0-rc.2.22472.11 72,301 10/11/2022
7.0.0-rc.1.22426.7 33,372 9/14/2022
7.0.0-preview.7.22376.2 30,302 8/9/2022
7.0.0-preview.6.22329.4 22,239 7/12/2022
7.0.0-preview.5.22302.2 19,679 6/14/2022
7.0.0-preview.4.22229.2 25,427 5/10/2022
7.0.0-preview.3.22175.1 41,996 4/13/2022
7.0.0-preview.2.22153.1 16,164 3/14/2022
7.0.0-preview.1.22076.6 13,369 2/17/2022
6.0.33 106,096 8/13/2024
6.0.32 115,144 7/9/2024
6.0.31 175,863 5/28/2024
6.0.30 103,887 5/14/2024
6.0.29 361,252 4/9/2024
6.0.28 358,872 3/12/2024
6.0.27 388,633 2/13/2024
6.0.26 571,900 1/9/2024
6.0.25 873,580 11/14/2023
6.0.24 428,444 10/24/2023
6.0.23 407,739 10/10/2023
6.0.22 846,046 9/12/2023
6.0.21 891,060 8/8/2023
6.0.20 843,966 7/11/2023
6.0.19 565,546 6/22/2023
6.0.18 398,301 6/13/2023
6.0.16 2,067,016 4/11/2023
6.0.15 1,151,933 3/14/2023
6.0.14 1,504,780 2/14/2023
6.0.13 2,150,923 1/10/2023
6.0.12 1,830,196 12/13/2022
6.0.11 3,035,801 11/7/2022
6.0.10 5,333,905 10/11/2022
6.0.9 4,585,344 9/13/2022
6.0.8 5,991,215 8/9/2022
6.0.7 5,812,003 7/12/2022
6.0.6 3,669,763 6/14/2022
6.0.5 5,827,662 5/10/2022
6.0.4 4,315,358 4/11/2022
6.0.3 4,906,177 3/8/2022
6.0.2 4,043,969 2/8/2022
6.0.1 6,545,585 12/14/2021
6.0.0 6,817,536 11/8/2021
6.0.0-rc.2.21480.5 54,106 10/12/2021
6.0.0-rc.1.21452.10 55,629 9/14/2021
6.0.0-preview.7.21378.4 36,526 8/10/2021
6.0.0-preview.6.21352.1 19,379 7/14/2021
6.0.0-preview.5.21301.9 34,940 6/15/2021
6.0.0-preview.4.21253.1 18,807 5/24/2021
6.0.0-preview.3.21201.2 37,994 4/8/2021
6.0.0-preview.2.21154.2 14,502 3/11/2021
6.0.0-preview.1.21102.2 30,813 2/12/2021
5.0.17 2,185,558 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 427,920 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 682,651 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 889,338 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 1,342,429 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 1,585,069 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 3,047,501 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 3,788,953 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 3,141,883 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 2,977,181 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 3,410,780 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 2,631,889 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 3,559,100 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 2,476,030 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 2,388,643 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 2,433,241 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 2,226,345 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 3,363,943 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 68,847 10/13/2020
5.0.0-rc.1.20451.13 52,152 9/14/2020
5.0.0-preview.8.20407.4 33,302 8/25/2020
5.0.0-preview.7.20365.15 32,399 7/21/2020
5.0.0-preview.6.20312.4 31,727 6/25/2020
5.0.0-preview.5.20278.2 15,499 6/10/2020
5.0.0-preview.4.20220.10 25,790 5/18/2020
5.0.0-preview.3.20181.2 38,066 4/23/2020
5.0.0-preview.2.20159.4 25,806 4/2/2020
5.0.0-preview.2.20120.8 14,206 3/16/2020
3.1.32 702,882 12/13/2022
3.1.31 151,251 11/8/2022
3.1.30 186,329 10/11/2022
3.1.29 516,461 9/13/2022
3.1.28 134,643 8/9/2022
3.1.27 108,895 7/12/2022
3.1.26 150,740 6/14/2022
3.1.25 308,692 5/10/2022
3.1.24 152,922 4/11/2022
3.1.23 369,900 3/8/2022
3.1.22 842,306 12/14/2021
3.1.21 930,660 11/7/2021
3.1.20 327,734 10/11/2021
3.1.19 555,504 9/14/2021
3.1.18 849,880 8/10/2021
3.1.17 523,545 7/13/2021
3.1.16 572,368 6/8/2021
3.1.15 775,915 5/11/2021
3.1.14 942,199 4/6/2021
3.1.13 1,176,083 3/9/2021
3.1.12 1,029,944 2/9/2021
3.1.11 1,361,712 1/12/2021
3.1.10 2,278,927 11/9/2020
3.1.9 3,391,057 10/13/2020
3.1.8 5,040,376 9/8/2020
3.1.7 2,969,778 8/11/2020
3.1.6 3,411,225 7/14/2020
3.1.5 4,194,781 6/9/2020
3.1.4 4,072,390 5/12/2020
3.1.3 5,685,842 3/24/2020
3.1.2 4,086,921 2/19/2020
3.1.1 4,063,308 1/14/2020
3.1.0 4,397,660 12/3/2019
3.1.0-preview3.19554.8 37,262 11/13/2019
3.1.0-preview2.19525.5 15,109 11/1/2019
3.1.0-preview1.19506.2 763,246 10/15/2019
3.0.3 48,283 2/19/2020
3.0.2 31,747 1/14/2020
3.0.1 473,014 11/18/2019
3.0.0 4,475,088 9/23/2019
3.0.0-rc1.19456.14 22,512 9/16/2019
3.0.0-preview9.19423.6 37,839 9/4/2019
3.0.0-preview8.19405.11 42,641 8/13/2019
3.0.0-preview7.19362.6 29,963 7/23/2019
3.0.0-preview6.19304.10 39,201 6/12/2019
3.0.0-preview5.19227.1 47,382 5/6/2019
3.0.0-preview4.19216.3 8,942 4/18/2019
3.0.0-preview3.19153.1 29,056 3/6/2019
3.0.0-preview.19074.3 15,663 1/29/2019
3.0.0-preview.18572.1 13,891 12/3/2018
2.2.6 10,447,022 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 5,678,015 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 1,758,147 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 1,993,297 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 2,561,540 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 10,655,474 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 87,963 10/17/2018
2.2.0-preview2-35157 65,798 9/12/2018
2.2.0-preview1-35029 17,958 8/22/2018
2.1.14 1,983,384 11/18/2019
2.1.11 1,814,180 5/14/2019
2.1.8 2,209,515 2/12/2019
2.1.4 6,698,806 10/1/2018
2.1.3 3,196,549 9/11/2018
2.1.2 2,467,173 8/21/2018
2.1.1 10,871,849 6/18/2018
2.1.0 4,573,867 5/29/2018
2.1.0-rc1-final 51,261 5/6/2018
2.1.0-preview2-final 67,185 4/10/2018
2.1.0-preview1-final 201,512 2/26/2018
2.0.3 4,023,868 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,089,692 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 6,637,702 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 7,010,994 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 63,178 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 36,609 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 64,776 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 176,106 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 19,998 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.2 62,884 9/20/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 700,382 5/9/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 279,957 3/6/2017 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview4-final 327,249 11/16/2016 1.1.0-preview4-final is deprecated because it is no longer maintained.
1.1.0-msbuild3-final 47,662 1/27/2017 1.1.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.3 14,318 11/14/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 7,316 9/20/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 14,658 5/9/2017 1.0.1 is deprecated because it is no longer maintained.
1.0.0 410,370 3/6/2017 1.0.0 is deprecated because it is no longer maintained.
1.0.0-preview4-final 29,649 12/12/2016 1.0.0-preview4-final is deprecated because it is no longer maintained.
1.0.0-preview3-final 49,071 10/24/2016 1.0.0-preview3-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 383,558 6/27/2016 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 63,557 5/16/2016 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-msbuild3-final 36,444 1/27/2017 1.0.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.0-msbuild2-final 10,681 12/12/2016 1.0.0-msbuild2-final is deprecated because it is no longer maintained.
1.0.0-msbuild1-final 16,234 11/16/2016 1.0.0-msbuild1-final is deprecated because it is no longer maintained.