I’ve upgraded an MVC2 project to MVC3 and now want to start using the Razor view engine but when I do Add->View it doesn’t give me the option to choose the view engine.
I have updated the Web.config in my views folder and have compared with a new MVC 3 project but nothing is working.
Any ideas?
I fixed this by changing the ProjectTypeGuids element in the .csproj file to the following:
I can now choose either Razor or ASPX as my view engine.