I think I accidentally entered the PowerShell mode so currently my console says: PS> c:\dev\
I wonder how do you exit from PS> mode to get back to PM mode? I want the console window to show PM> so I can install packages
The same thing happened to me. I tried to restart VS with no effect, the "Package Manager Console" started in PowerShell again.
But this worked:
- close the "Package Manager Console"
- restart VS
- open Package Manager Console"
来源:https://stackoverflow.com/questions/8335160/enter-exit-the-powershell-mode-in-the-package-manager-console-window