Visual Studio 2008: No ASP.NET MVC items shown in Add New Item dialog

Today I found something weird. I tried to add some new views to my ASP.NET MVC solution but there were no ASP.NET MVC items in new items dialog. All the other ASP.NET MVC projects had no problem like this. Solution is simple.

  1. Close the problematic solution.
  2. Open .csproject file of this solution.
  3. In the beginning of file there is PropertyGroup block. Move to ProjectTypeGuids tag.
  4. Add {603c0e0b-db56-11dc-be95-000d561079b0} as first project type GUID.
  5. Save the file and open it using Visual Studio 2008.

Everything should work now as expected.

Liked this post? Empower your friends by sharing it!

Gunnar Peipman

Gunnar Peipman is ASP.NET, Azure and SharePoint fan, Estonian Microsoft user group leader, blogger, conference speaker, teacher, and tech maniac. Since 2008 he is Microsoft MVP specialized on ASP.NET.

    One thought on “Visual Studio 2008: No ASP.NET MVC items shown in Add New Item dialog

    • July 25, 2009 at 9:11 pm
      Permalink

      I had the same problem. Tried your steps and worked great. Thanks

    Leave a Reply

    Your email address will not be published. Required fields are marked *