Visual Studio 2015(ASP.NET 5):显示“管理Bower程序包..."上下文菜单 [英] Visual Studio 2015 (ASP.NET 5): show 'Manage Bower Packages...' context menu

查看:107
本文介绍了Visual Studio 2015(ASP.NET 5):显示“管理Bower程序包..."上下文菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio 2015中,当我使用全新的ASP.NET 5项目创建全新的解决方案时,右键单击该项目时会看到Manage Bower Packages...上下文菜单:

In Visual Studio 2015, when I create a brand new solution with a brand new ASP.NET 5 project, I see the Manage Bower Packages... context menu when I right-click on the project:

但是,当我将ASP.NET 5项目添加到现有解决方案时,Manage Bower Packages...上下文菜单无处可见:

However, when I add an ASP.NET 5 project to an existing solution, the Manage Bower Packages... context menu is nowhere to be seen:

是否知道如何显示Manage Bower Packages...上下文菜单选项?

Any idea how to get the Manage Bower Packages... context menu option to appear?

推荐答案

向项目添加Bower配置文件可以解决此问题.可以通过右键单击项目,从菜单中选择"Add new item",然后从项目模板中选择"Bower configuration file"来完成.要使菜单项显示出来,可能需要重新启动Visual Studio.

Adding a Bower configuration file to the project solves this problem. This can be done by right-clicking the project, selecting "Add new item" from the menu and then "Bower configuration file" from the item templates. Visual Studio restart may be required to get the menu item to show up.

这篇关于Visual Studio 2015(ASP.NET 5):显示“管理Bower程序包..."上下文菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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