0
Looking at an example of how Generate SQL scripts.
So I executed the following command:
PM> Script-Migration
The above command works fine, however I want to save in a specific folder, I tried that way:
PM> Script-Migration -OutputDir Areas/Identity/Data/Migrations/Script.sql
I get error:
Unable to locate a parameter matching the name of parameter 'Outputdir'.
Some solution ?
Try to use
Add-Migration
instead ofScript-Migration
. By the documentation command script does not accept the-OutputDir
.– sant0will