ASP.NET Core Script-Migration: The term 'Script-Migration' is not recognized as the name of a cmdlet

2

In ASP .NET core , when I run the Add-Migration InitialMigration command in Package Manager Console I see this error:

Script-Migration : The term 'Script-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.
At line:1 char:1
+ Script-Migration
+ ~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Script-Migration:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    
asked by Felipe Puente Ortiz 05.12.2018 в 22:46
source

1 answer

0

The name of the migration is inside brackets, in your example: Add-Migration [MigracionInicial]

    
answered by 05.12.2018 в 23:07