dotnet / EntityFramework.Docs

Documentation for Entity Framework Core and Entity Framework 6
https://docs.microsoft.com/ef/
Creative Commons Attribution 4.0 International
1.63k stars 1.96k forks source link

Missing Prerequisites: Microsoft.EntityFrameworkCore.Tools #3927

Open VandeurzenDries opened 2 years ago

VandeurzenDries commented 2 years ago

[Enter feedback here] The page mentions under prerequisites that 'nstall-Package Microsoft.EntityFrameworkCore.Design' is needed. After installing this (via pmc ) and continuing to the 'Scaffold-DbContext ...' step you will get an error. This error is solved by installing 'Install-Package Microsoft.EntityFrameworkCore.Tools' (via pmc).

A mention of the 'tools' package in the prerequisites might be helpfull so that other users don't encounter this issue.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

bricelam commented 2 years ago

Indeed. We should change Microsoft.EntityFrameworkCore.Design to Tools in the prerequisites since that will work for both the .NET Core CLI and Visual Studio.