The "Add New Item" dialog box does not display all the item templates that are available in Visual Studio 2005

This article has been archived. It is offered "as is" and will no longer be updated.
Symptoms
When you try to add a new item to a Microsoft Visual Studio 2005 project by using the Add New Item dialog box, the Add New Item dialog box does not display all the item templates that are available. By default, the Add New Item dialog box displays a subdirectory in the Categories pane.
Cause
This problem occurs when the following conditions are true:
  • You create a new subdirectory in the %ProgramFiles%\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates directory.
  • You add item templates to the new subdirectory.
  • You run the devenv.exe /installvstemplates command at the Visual Studio 2005 command prompt.
Workaround
To work around this problem, click the top category in the Categories pane. The top category in the Categories pane contains the rest of the item templates that are available.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More information

Steps to reproduce the problem

  1. Locate the %ProgramFiles%\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates directory.
  2. Create a new directory that is named My Templates.
  3. Open the My Templates directory.
  4. Create a new directory that is named 1033.
  5. Copy an item template .zip file to the 1033 directory.
  6. Click Start, click Programs, click Microsoft Visual Studio 2005, click Visual Studio Tools, and then click Visual Studio 2005 Command Prompt.
  7. Type devenv.exe /installvstemplates, and then press ENTER.
  8. Start Visual Studio 2005.
  9. Click File, click New, and then click Project.
  10. Click Visual C#, click Windows Application, type MyWinApp in the Name box, and then click OK.
  11. In Solution Explorer, right-click MyWinApp, click Add, and then click New Item.
  12. By default, the Add New Item dialog box displays the item templates that are located in the directory that you created in step 2.
Properties

Article ID: 916651 - Last Review: 01/16/2015 01:54:45 - Revision: 2.0

  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio 2005 Professional Edition
  • kbnosurvey kbarchive kbprogramming kbbug kbtshoot kbprb KB916651
Feedback