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
Řešení
I get it fixed by setting the project containing DbContext as the Startup Project
Zdroj:
https://github.com/aspnet/EntityFramework6/issues/492
Žádné komentáře:
Okomentovat