Enter\Exit the PowerShell mode in the Package Manager Console window
问题 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 回答1: 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