是否有Visual Studio的交互式shell?

时间:2015-07-09 12:38:15

标签: visual-studio visual-studio-2013 command-line-interface bower

今天我开始在Visual Studio 2013中的项目中使用bower。当我尝试从VS中的程序包管理器控制台运行bower init时,出现以下错误:

PM> bower init
bower.cmd : bower ENOINT        Register requires an interactive shellIn Zeile:1 
Zeichen:1
+ bower init
+ ~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (bower ENOINT   ...teractive shell:St 
   ring) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError


Additional error details:
Note that you can manually force an interactive shell with --config.interactive

显然,该命令需要一个交互式shell来询问用户一些设置首选项,所以我最终在Powershell中运行它在VS之外(这不是很好)。

软件包管理器控制台似乎只提供非交互式功能(以“即发即忘”的方式)。我搜索了一个VS的插件,提供了一个交互式shell,但没有成功。

是否有可与Visual Studio集成的交互式shell,允许您运行像bower init这样的交互式脚本而无需离开IDE?

0 个答案:

没有答案
相关问题