Friday, February 5, 2010

Missing item templates in Visual Studio 2005

If you try to add an item (Class, Form, etc.) and you notice there is one or more templates missing, sounds like something went wrong with the cache on disk of all the installed item templates.

Here you have two possibles ways to solve the problem:


First option
Close Visual Studio then Open the ‘Visual Studio 2005 Command Prompt’.
Type the following command at the prompt, press enter and wait a couple minutes.
devenv /installvstemplates

Second option
Open the Options window in Visual Studio.
Select Projects and Solutions.
Change the Visual Studio user item template location to the folder where the standard templates are located:
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates




No comments:

Post a Comment