简体   繁体   中英

VS2013 MVC 5 Add controller missing

before posting, I read all the posts related to this query, as well as the ones in asp.net forums. There is a filed bug related to this problem which was filed as solved, but still unsolved in the current version (VS2013.4).

The problem is that my Visual Studio 2013 is missing the "Add Controller" option, so I have no way of scaffolding new controllers in my MVC 5 projects. Some clarifications:

  • It is a new MVC5 project, not MVC4->MVC5 migration.
  • Updated all nuget packages, all VS related stuff as well.
  • Repaired VS2013
  • Uninstalled, rebooted and reinstalled VS2013
  • Upgraded it
  • Installed the .NET Web Tools from the DVD and from internet.
  • Changed the project GUIDs as some suggest (btw, those solutions seem to work only for MVC4 or less, not for VS2013 MVC5)

I have a virtual machine at work with win8.1 64bits and VS2013.4 that does have "add controller" option (same config as my home laptop, but in a virtual machine). Also tried to copy the same .csproj settings with no luck.

So, basically, unless someone came across another solution I still may have not tried yet, is to format and reinstall everything.

I don't know if this is applicable to your case and if it will directly help you, but I had some problems with Microsoft development tools and hidden buttons when using them on my touch screen enabled laptop

The solution was to turn off windows/controls scaling in Control panel (set it back to 100%)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM