Saturday, 4 April 2020

Add-migration issue in VS2019

The term 'add-migration' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.



Solution :

Just install Microsoft.EntityFrameworkCore.Tools package from nuget:
Install-Package Microsoft.EntityFrameworkCore.Tools -Version 3.1.3



No comments:

Post a Comment