No templates available when creating a new project in Visual Studio

I used a solution presented to me from other sites. One of them said to reinstall templates. I did the following:

In the command prompt I typed: cd C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE

Then I typed: devenv /installvstemplates

I took a minute but after it completed I opened Visual Studio and tried to create a new project. All my project templates were back in order, including additional templates like Workflow, SharePoint and Silverlight.

Link to other source


Start Menu --> Microsoft Visual Studio 2008 --> Visual Studio Tools. Right-click over the Visual Studio Command Prompt shortcut and make sure you select Run as Administrator. Once the VS Command Prompt comes up, execute the command without Quot,

  1. "devenv /installvstemplates"

  2. "devenv /resetsettings"

    And that worked out.


Run Following command and it will restore templates. C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE>devenv /installvstemplates