MVC No Add Controller Menu or Scaffolding Menu - model-view-controller

Just wondering if any of you has experience the same trouble, since I downloaded the Visual Studio Express 2013 For web, the "Add Controller or Scaffolding" never appear in the menu when I created a new project.
I have updated the MVC 5.2.2 still no luck, I have Added the GUID E3E379DF-F4C6-4180-9B81-6769533ABE47 still not showing up.
Anyone who answer very much appreciated,
Thank you

Related

In visual studio web form, I can not see form layout page

I am creating web form application,
It works fine, but today I open the solution,
Suddenly there is no "view designer" optionsolution explorer view in form.cs.
Can anyone help me to solve the problem?
Thank you very much.

DataTable visualizer nowhere to be found in Visual Studio 2017

This is driving me crazy. When I'm debugging, I don't have the magnifying glass icon to see the data inside my DataTable. I tried this, this, and this solution to no avail.
How in the world I get the icon back??
Thank you!
I had the same problem but posting my fix since it was very frustrating as I wasted a few hours trying to troubleshoot the issue.
It turned out to be my project type. I created a new .NET framework (non-core) project and it magically reappeared.
Apparently it is a known issue with .NET Core.

Missing razor intellisense and keyboard shortcut behavior in MVC 5 - visual studio 2012 with Resharper

I have started an MVC 5 empty project and imported most of my stuff from another project to this one using most of this link. However I soon found out that I was having other kinds of troubles. I have since then downloaded ASP.NET and Web Tools 2013.1 for Visual Studio 2012 and installed it, and it only solved my problem partially.
As of right now my Razor syntax works, but I lost some really nice functionalities. Here's an example:
<li>
Orders
</li>
Today's date: #System.DateTime.Now
So when I type the #System.DateTime.Now line, the intellisence does work and offers the good options. However, if I type the Orders, as of before when writing the SearchOrders line the intellisence would provide the names of the actions included in the controller, however with MVC 5 and Visual Studio 2012 it is no more the case.
So if I type a missing action the support will not anymore warn me that the action is missing, nor will it offer me to create the action in my controller, and so on. In the same way, if I hit F12 on a View() line, Visual Studio 2012 will open the metadata class instead of showing the .cshtml file.
Is there something missing to gain back those functionalities? I've tried with an MVC 4 Web Application framework and things were working fine.
EDIT after user Erik pointed out that it was related to Resharper's code completion and other features, I am now searching as to why Resharper v 7.1.x does not seem to be able to deal with MVC 5 and its features.
As Erik Funkenbush (see comments on my main post) mentioned, the data lacking was actually part of Resharper's behavior and was not related, as I thought, to Visual Studio.
The main question was why Resharper 7.1.x did not seem to be able to cope with MVC 5 - Razor 3. I have not found the answer to that question, but I have installed Resharper 8 and all those lost functionality are back.
So if you ever stumble upon this problem, try an updated version of Resharper, it might be your solution.

"Bogus" Web project requires missing web component message for razor

Using Visual Studio 2010, MVC 3 (release version) I'm getting this error when opening a specific project which was a traditional web forms project to which I've added MVC:
"The Web project '' requires missing web components to run with Visual Studio. Would you like to download and install the using the Web Platform Installer now?
ASP.NET Web pages with Razor syntax."
I have MVC installed and fully running. Other pure MVC and another mixed Web Forms/MVC project open without any issue.
Clicking "Yes" appears to go through downloading and installing, but the error remains.
Clicking "No" opens the project, where I have intellisense and syntax highlighting for Razor, all my MVC context items (Add View, Add Controller, etc.). In short, everything appears to be working just fine except for what appears to be a bogus error message.
I've done a file compare of the sln, csproj and web.config files and added everything that appears relevant. Prior to doing that I was missing some entries in ProjectTypeGuids the addition of which got the MVC context menus and Razor intellisense working. I tried resetting the ProjectGuid but I still get the error.
I have also previously gone through uninstalling MVC3, MVC2, ASP.NET Web Pages, repairing Visual Studio, installing MVC 3 from the stand-alone installer, and probably a couple more things. I have not yet tried a full system reinstall. I am working from a relatively clean Windows 7 installation. It was a fresh setup about 2 weeks ago and only VS 2010 has been installed (no older versions or betas).
I'm out of ideas at this point. Anyone got any suggestions? I'm a bit confused since this is project-specific, yet the error message indicates that the problem is with Visual Studio.
Update: it gets a little more interesting. Another developer was able to open the same project on his machine without any errors or warnings. So it's something specific to this project on my workstation. At this point I'm willing to write it off as some obscure edge-case bug.
Update 2: And now after rebooting for a system update it's working on my workstation. Definitely some sort of edge-case, and definitely not something I can reproduce.
You can see from the updates, that the problem has gone away after a system-update prompted reboot. So if anyone else has ended up here with a similar problem and you've gone through all the other possibilities, try rebooting.

Add Deployable Dependencies - missing MVC checkbox

I am trying to use the new Add Deployable Dependencies feature of VS 2010 SP1 to help with deploying an MVC3 site to a shared hosting environment. However, when I select the option after right-clicking on the project, the resulting dialog box does not show the ASP.NET MVC checkbox. It only shows Asp.Net Web Pages with Razor Syntax and SQL Server Compact.
Another thing I noticed is the capitalization of Asp.Net does not match screenshots I've seen online. In the "About Microsoft Visual Studio" dialog box, my version is shown as 10.0.31118.1 SP1Rel.
I'm stumped. Any help would be greatly appreciated. Thanks!
Solution
I re-installed VS 2010 SP1 (via the Web Platform Installer) and I now have the ASP.NET MVC checkbox and the capitalization seems correct. In the "About Microsoft Visual Studio" dialog box, my version now shows as 10.0.40219.1 SP1Rel... I must've still had the beta. Thanks!
Was the project actually created as an Mvc project? If not you will have to add the Mvc project type GUID to the csproj file. Also make sure you actually have Mvc installed on your machine.

Resources