Articles → ASP .NET CORE → The Term 'Add-Migration' Is Not Recognized As The Name Of A Cmdlet In .Net Core

The Term 'Add-Migration' Is Not Recognized As The Name Of A Cmdlet In .Net Core




Error





Solution


  1. Open "Package Manager Console". For that go to "Tools" → "NuGet Package Manager" → "Package Manager Console".
  2. Write the following commands.
Install-Package Microsoft.EntityFrameworkCore.Tools -Version <version>
Update-Package Microsoft.EntityFrameworkCore.Tools <version>
Get-Help about_EntityFrameworkCore




Picture showing the image displayed when EntityFrameworkCore dlls are installed using nuget

Click to Enlarge




Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, January 18, 2022

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250