Visual Studio 2015中缺少添加控制器选项 [英] Add controller option is missing in Visual Studio 2015

查看:854
本文介绍了Visual Studio 2015中缺少添加控制器选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Visual Studio 2015,打开现有项目后,右键单击控制器文件夹"时看不到添加控制器"选项.请帮忙.

I am using Visual studio 2015 and after opening an existing project, I am not able to see the add controller option while right clicking on the Controller Folder. Please help.

推荐答案

  • 打开VS2015 => TOOLS =>自定义
  • 选择命令
  • 选择上下文菜单
  • 选择项目和解决方案上下文菜单|文件夹|添加
  • 检查是否显示控制器".
  • 重要提示-将Controller项移至顶部.
    • Open VS2015=>TOOLS=>Customize
    • Select Commands
    • Select Context menu
    • Select Project and Solution Context Menus|Folder|Add
    • Check that 'Controller' appears.
    • IMPORTANT - Move up Controller item to the top.
    • 这篇关于Visual Studio 2015中缺少添加控制器选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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