Cannot bind argument to parameter Path because it is null. Entity framework Error


Back to learning
Created: 07/11/2019

Cannot bind argument to parameter 'Path' because it is null. Entity framework Error

EF6
Visual Studio 2019


Error:
Package manager Console Message:

PM> enable-migrations
enable-migrations : Cannot bind argument to parameter 'Path' because it is null.
At line:1 char:1
+ enable-migrations
+ ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Enable-Migrations], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Enable-Migrations
 
PM> 


Solution:
Just "Set as StartUp Project" in Visual Studio solution explorer, your project where you have your Context created, the same where you installed Entity Framework. And run "enable-migrations" from the console again. Thats it.