Hi,
Create a C# project (with .NET 4.5) at a path has __[__ or __]__ for example [My Project], then add EF version 5.0.0 to it, then open package console an try run a command such as "enable-migrations" or "Update-Database"; Yuo will give this message:
The term 'enable-migrations' 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:18
+ enable-migrations <<<<
+ CategoryInfo : ObjectNotFound: (enable-migrations:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
OK?
Now do one of these:
1. remove breakets from solution path.
or
2. Replace __init.psd1__ with same file that comes with EF version 4.3.1 (.NET 4.0)
and there is no problem.
Create a C# project (with .NET 4.5) at a path has __[__ or __]__ for example [My Project], then add EF version 5.0.0 to it, then open package console an try run a command such as "enable-migrations" or "Update-Database"; Yuo will give this message:
The term 'enable-migrations' 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:18
+ enable-migrations <<<<
+ CategoryInfo : ObjectNotFound: (enable-migrations:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
OK?
Now do one of these:
1. remove breakets from solution path.
or
2. Replace __init.psd1__ with same file that comes with EF version 4.3.1 (.NET 4.0)
and there is no problem.