在包管理器控制台窗口中进入\退出 PowerShell 模式 [英] Enter\Exit the PowerShell mode in the Package Manager Console window

查看:56
本文介绍了在包管理器控制台窗口中进入\退出 PowerShell 模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想我不小心进入了 PowerShell 模式,所以目前我的控制台显示:PS> c:\dev\

I think I accidentally entered the PowerShell mode so currently my console says: PS> c:\dev\

我想知道如何退出 PS> 模式以返回 PM 模式?我希望控制台窗口显示 PM> 以便我可以安装软件包

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

推荐答案

同样的事情发生在我身上.我尝试重新启动 VS 没有效果,包管理器控制台"再次在 PowerShell 中启动.

The same thing happened to me. I tried to restart VS with no effect, the "Package Manager Console" started in PowerShell again.

但这奏效了:

  • 关闭包管理器控制台"
  • 重启VS
  • 打开包管理器控制台"

这篇关于在包管理器控制台窗口中进入\退出 PowerShell 模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆