Whats the difference between EFCore.Tools and EFCore.Tools.DotNet

entity-framework-core

Question

There are two tools packages in NuGet for EF Core Tools

Microsoft.EntityFrameworkCore.Tools
Microsoft.EntityFrameworkCore.Tools.DotNet

The descriptions don't say much about what each does. Does anyone know the difference between these packages and when I should use one or the other?

From the looks of the package contents one has integration with the package explorer console(?) even though they both talk about console tools.

enter image description here

1
1
8/16/2017 1:05:07 AM

Accepted Answer

Microsoft.EntityFrameworkCore.Tools are tools for use with the Package Manager Console (PMC) inside Visual Studio. Includes Scaffold-DbContext, Add-Migration, and Update-Database.

Microsoft.EntityFrameworkCore.Tools.DotNet are for use with .NET Core, specifically the dotnet.exe command line tool.

4
8/16/2017 5:47:55 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow