This project is read-only.


CodeGen doesn't add MVC project type to module csproj


And because of that adding MVC-related file types with Add - New item (eg. Razor view templates) are not available. The currently added project types are "Windows (C#)" and "Web Application".
Here's a corresponding topic on SO:

Fix from the last comment: add {E3E379DF-F4C6-4180-9B81-6769533ABE47} to the <ProjectTypeGuids> section. After that, "MVC 4" appears under the "Web" section.

Looking at the file history of "ModuleCsProj.txt" I see that it's been modified a few times with adding/removing the project type GUID of current the MVC-version. It'll break if you don't have MVC 4 installed.
Closed Dec 7, 2012 at 9:51 AM by Piedone
We've spoken about this and this is by design: it would produce warnings in environments where MVC tooling is not installed and probably also prevent projects from being loaded in VS.