X

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!

View Comments (1)

Related Post