I have installed VS 11 Pro Beta and opened my MVC4 solution that uses EF4.3 code first with migrations. This solution works fine on the same machine under VS 2010: I can Add-Migration's and Update-Database as well.
But in VS11 I get following erros in Package Manager Console:
PS D:> Update-Database
System.Management.Automation.CommandNotFoundException: The term 'Get-Project' 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 System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
at System.Management.Automation.StatementListNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
at System.Management.Automation.TryStatementNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
The term 'Get-Project' 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.
even after opening the console the "Package Manager Console Host Version 1.6.30117.9648" open up, but event the basic help command doesn't work:
PS D:> get-help NuGet
Get-Help : Cannot find Help for topic "NuGet".
At line:1 char:9
+ get-help <<<< NuGet
+ CategoryInfo : ResourceUnavailable: (:) [Get-Help], HelpNotFoundException + FullyQualifiedErrorId : HelpNotFound,Microsoft.PowerShell.Commands.GetHelpCommand
At the same time I can use NuGet GUI to install packages normally. Please help to make migrations working.