This article has been archived. It is offered "as is" and will no longer be updated.
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.
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.
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.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Steps to reproduce the problem
Locate the %ProgramFiles%\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates directory.
Create a new directory that is named My Templates.
Open the My Templates directory.
Create a new directory that is named 1033.
Copy an item template .zip file to the 1033 directory.
Click Start, click Programs, click Microsoft Visual Studio 2005, click Visual Studio Tools, and then click Visual Studio 2005 Command Prompt.
Type devenv.exe /installvstemplates, and then press ENTER.
Start Visual Studio 2005.
Click File, click New, and then click Project.
Click Visual C#, click Windows Application, type MyWinApp in the Name box, and then click OK.
In Solution Explorer, right-click MyWinApp, click Add, and then click New Item.
By default, the Add New Item dialog box displays the item templates that are located in the directory that you created in step 2.