Migration Error!

[Add-Migration], ParameterBindingValidationException

add-migration : Cannot bind argument to parameter ‘Path’

Solution:

  1. Make sure your app is selected as the startup project (or use the -StartupProject parameter) when running the commands.
  2. If the above hack doesn’t work, ensure that the project is not placed at some special character named folder, it will cause this issue.