Reputation: 12705
I have installed the MVC 3, but after I've created that project, if I want to add a new Controller or View but there is no item in the list. See the images below. What's wrong ?
The project's targer framework is of course .NET 4
I have that items installed:
Upvotes: 1
Views: 1000
Reputation: 12705
the purpose was, when I've opened the .csproj
file there were wrong ProjectTypeGuids
. I've replaced them with the data from the empty project and now it is OK.
Upvotes: 0
Reputation: 22011
It looks like you are trying to add MVC components to an ASP.NET Web project, rather than an ASP.NET MVC Web Project
Upvotes: 2