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 (282)

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 (481)

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 9,886 9/10/2024
9.0.0-preview.7.24405.3 13,921 8/13/2024
9.0.0-preview.6.24327.4 14,894 7/9/2024
9.0.0-preview.5.24306.3 11,723 6/11/2024
9.0.0-preview.4.24267.1 11,960 5/21/2024
9.0.0-preview.3.24172.4 88,496 4/11/2024
9.0.0-preview.2.24128.4 20,356 3/12/2024
9.0.0-preview.1.24081.2 35,714 2/13/2024
8.0.8 2,025,747 8/13/2024
8.0.7 2,269,724 7/9/2024
8.0.6 3,179,801 5/28/2024
8.0.5 1,308,117 5/14/2024
8.0.4 3,562,006 4/9/2024
8.0.3 2,644,381 3/12/2024
8.0.2 3,214,777 2/13/2024
8.0.1 3,146,695 1/9/2024
8.0.0 4,150,661 11/14/2023
8.0.0-rc.2.23480.1 67,051 10/10/2023
8.0.0-rc.1.23419.6 36,580 9/12/2023
8.0.0-preview.7.23375.4 29,360 8/8/2023
8.0.0-preview.6.23329.4 37,515 7/11/2023
8.0.0-preview.5.23280.1 33,183 6/13/2023
8.0.0-preview.4.23259.3 31,097 5/16/2023
8.0.0-preview.3.23174.2 54,768 4/11/2023
8.0.0-preview.2.23128.3 32,720 3/14/2023
8.0.0-preview.1.23111.4 76,051 2/21/2023
7.0.20 354,758 5/28/2024
7.0.19 109,874 5/14/2024
7.0.18 310,175 4/9/2024
7.0.17 310,930 3/12/2024
7.0.16 459,183 2/13/2024
7.0.15 714,253 1/9/2024
7.0.14 1,541,387 11/14/2023
7.0.13 1,882,829 10/24/2023
7.0.12 1,402,717 10/10/2023
7.0.11 2,870,474 9/12/2023
7.0.10 2,964,816 8/8/2023
7.0.9 2,346,125 7/11/2023
7.0.8 2,024,448 6/22/2023
7.0.7 966,345 6/13/2023
7.0.5 6,475,345 4/11/2023
7.0.4 2,941,763 3/14/2023
7.0.3 3,618,445 2/14/2023
7.0.2 4,261,822 1/10/2023
7.0.1 2,654,741 12/13/2022
7.0.0 3,304,264 11/7/2022
7.0.0-rc.2.22472.11 72,045 10/11/2022
7.0.0-rc.1.22426.7 33,313 9/14/2022
7.0.0-preview.7.22376.2 30,249 8/9/2022
7.0.0-preview.6.22329.4 22,180 7/12/2022
7.0.0-preview.5.22302.2 19,630 6/14/2022
7.0.0-preview.4.22229.2 25,391 5/10/2022
7.0.0-preview.3.22175.1 41,980 4/13/2022
7.0.0-preview.2.22153.1 16,126 3/14/2022
7.0.0-preview.1.22076.6 13,327 2/17/2022
6.0.33 87,913 8/13/2024
6.0.32 108,068 7/9/2024
6.0.31 169,366 5/28/2024
6.0.30 100,088 5/14/2024
6.0.29 351,501 4/9/2024
6.0.28 350,723 3/12/2024
6.0.27 382,237 2/13/2024
6.0.26 565,423 1/9/2024
6.0.25 862,648 11/14/2023
6.0.24 423,479 10/24/2023
6.0.23 403,859 10/10/2023
6.0.22 837,836 9/12/2023
6.0.21 882,053 8/8/2023
6.0.20 834,167 7/11/2023
6.0.19 561,688 6/22/2023
6.0.18 395,192 6/13/2023
6.0.16 2,051,801 4/11/2023
6.0.15 1,145,051 3/14/2023
6.0.14 1,495,406 2/14/2023
6.0.13 2,138,364 1/10/2023
6.0.12 1,818,696 12/13/2022
6.0.11 3,023,087 11/7/2022
6.0.10 5,310,873 10/11/2022
6.0.9 4,566,605 9/13/2022
6.0.8 5,965,070 8/9/2022
6.0.7 5,785,641 7/12/2022
6.0.6 3,655,180 6/14/2022
6.0.5 5,809,679 5/10/2022
6.0.4 4,297,326 4/11/2022
6.0.3 4,892,149 3/8/2022
6.0.2 4,032,172 2/8/2022
6.0.1 6,524,764 12/14/2021
6.0.0 6,783,700 11/8/2021
6.0.0-rc.2.21480.5 54,023 10/12/2021
6.0.0-rc.1.21452.10 55,558 9/14/2021
6.0.0-preview.7.21378.4 36,490 8/10/2021
6.0.0-preview.6.21352.1 19,351 7/14/2021
6.0.0-preview.5.21301.9 34,854 6/15/2021
6.0.0-preview.4.21253.1 18,790 5/24/2021
6.0.0-preview.3.21201.2 37,935 4/8/2021
6.0.0-preview.2.21154.2 14,492 3/11/2021
6.0.0-preview.1.21102.2 30,782 2/12/2021
5.0.17 2,174,027 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 426,740 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 680,875 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 888,259 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 1,338,350 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 1,581,796 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 3,041,905 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 3,781,753 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 3,137,745 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 2,973,306 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 3,406,169 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 2,627,405 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 3,554,239 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 2,472,727 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 2,386,360 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 2,430,634 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 2,223,950 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 3,358,808 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 68,811 10/13/2020
5.0.0-rc.1.20451.13 52,111 9/14/2020
5.0.0-preview.8.20407.4 33,290 8/25/2020
5.0.0-preview.7.20365.15 32,386 7/21/2020
5.0.0-preview.6.20312.4 31,706 6/25/2020
5.0.0-preview.5.20278.2 15,451 6/10/2020
5.0.0-preview.4.20220.10 25,752 5/18/2020
5.0.0-preview.3.20181.2 38,051 4/23/2020
5.0.0-preview.2.20159.4 25,793 4/2/2020
5.0.0-preview.2.20120.8 14,193 3/16/2020
3.1.32 691,149 12/13/2022
3.1.31 150,316 11/8/2022
3.1.30 184,736 10/11/2022
3.1.29 510,660 9/13/2022
3.1.28 134,098 8/9/2022
3.1.27 108,383 7/12/2022
3.1.26 150,059 6/14/2022
3.1.25 307,920 5/10/2022
3.1.24 152,533 4/11/2022
3.1.23 368,850 3/8/2022
3.1.22 839,285 12/14/2021
3.1.21 926,932 11/7/2021
3.1.20 327,077 10/11/2021
3.1.19 553,978 9/14/2021
3.1.18 846,788 8/10/2021
3.1.17 521,735 7/13/2021
3.1.16 571,492 6/8/2021
3.1.15 774,935 5/11/2021
3.1.14 940,292 4/6/2021
3.1.13 1,174,431 3/9/2021
3.1.12 1,029,042 2/9/2021
3.1.11 1,360,213 1/12/2021
3.1.10 2,276,074 11/9/2020
3.1.9 3,387,500 10/13/2020
3.1.8 5,035,299 9/8/2020
3.1.7 2,965,740 8/11/2020
3.1.6 3,407,797 7/14/2020
3.1.5 4,190,517 6/9/2020
3.1.4 4,064,588 5/12/2020
3.1.3 5,679,240 3/24/2020
3.1.2 4,082,943 2/19/2020
3.1.1 4,060,083 1/14/2020
3.1.0 4,392,031 12/3/2019
3.1.0-preview3.19554.8 37,227 11/13/2019
3.1.0-preview2.19525.5 15,094 11/1/2019
3.1.0-preview1.19506.2 761,934 10/15/2019
3.0.3 48,143 2/19/2020
3.0.2 31,725 1/14/2020
3.0.1 472,713 11/18/2019
3.0.0 4,469,332 9/23/2019
3.0.0-rc1.19456.14 22,496 9/16/2019
3.0.0-preview9.19423.6 37,763 9/4/2019
3.0.0-preview8.19405.11 42,620 8/13/2019
3.0.0-preview7.19362.6 29,934 7/23/2019
3.0.0-preview6.19304.10 39,187 6/12/2019
3.0.0-preview5.19227.1 47,366 5/6/2019
3.0.0-preview4.19216.3 8,931 4/18/2019
3.0.0-preview3.19153.1 29,032 3/6/2019
3.0.0-preview.19074.3 15,633 1/29/2019
3.0.0-preview.18572.1 13,872 12/3/2018
2.2.6 10,429,373 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 5,671,928 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 1,757,467 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 1,991,562 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 2,558,337 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 10,638,263 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 87,950 10/17/2018
2.2.0-preview2-35157 65,665 9/12/2018
2.2.0-preview1-35029 17,946 8/22/2018
2.1.14 1,980,389 11/18/2019
2.1.11 1,813,264 5/14/2019
2.1.8 2,208,596 2/12/2019
2.1.4 6,694,364 10/1/2018
2.1.3 3,192,198 9/11/2018
2.1.2 2,465,249 8/21/2018
2.1.1 10,831,004 6/18/2018
2.1.0 4,569,684 5/29/2018
2.1.0-rc1-final 51,245 5/6/2018
2.1.0-preview2-final 67,124 4/10/2018
2.1.0-preview1-final 201,295 2/26/2018
2.0.3 4,018,894 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,084,108 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 6,628,139 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 7,002,636 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 63,133 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 36,597 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 64,587 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 175,697 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 19,983 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.2 62,856 9/20/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 698,454 5/9/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 279,704 3/6/2017 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview4-final 327,140 11/16/2016 1.1.0-preview4-final is deprecated because it is no longer maintained.
1.1.0-msbuild3-final 47,645 1/27/2017 1.1.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.3 14,290 11/14/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 7,302 9/20/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 14,634 5/9/2017 1.0.1 is deprecated because it is no longer maintained.
1.0.0 407,668 3/6/2017 1.0.0 is deprecated because it is no longer maintained.
1.0.0-preview4-final 29,642 12/12/2016 1.0.0-preview4-final is deprecated because it is no longer maintained.
1.0.0-preview3-final 49,060 10/24/2016 1.0.0-preview3-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 383,498 6/27/2016 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 63,549 5/16/2016 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-msbuild3-final 36,433 1/27/2017 1.0.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.0-msbuild2-final 10,660 12/12/2016 1.0.0-msbuild2-final is deprecated because it is no longer maintained.
1.0.0-msbuild1-final 16,207 11/16/2016 1.0.0-msbuild1-final is deprecated because it is no longer maintained.