1

I would like to have the Add->View... context menu item available in a project that starts out as a class library, just as it is available in a project that starts out as an MVC 4 project. I have given the .csproj file a cursory read through, but I don't see anything saying, "This is an MVC project", so how does VS know this?

I have since learnt that VS looks at the ProjectTypeGuids element in the project file, and that I must add the GUID E3E379DF-F4C6-4180-9B81-6769533ABE47 to the front of this elements value. Maybe my question is clearer now that I can say I'm trying to find out what the association is between these GUIDs and the item templates available in a project.

ProfK
  • 49,207
  • 121
  • 399
  • 775
  • Does [this](http://stackoverflow.com/a/9438237/147211) help? – KMoraz Dec 06 '12 at 18:01
  • @KMoraz Maybe. The one comment there notes that the project and item templates have `` in common. I will follow that up. – ProfK Dec 07 '12 at 03:22

0 Answers0