How to: Restore Default Project Templates

If you accidentally delete the default project templates that are included with Visual Studio, you can use this procedure to restore them without reinstalling Visual Studio.

To restore the default project templates

  1. In the command prompt, navigate to the location of devenv.exe. This file is located in <Visual Studio Installation Path>\Common7\IDE.

    NoteNote

    If you are running Windows Vista or Windows 7, you must open the command prompt as an administrator by right-clicking the command prompt and then clicking Run as administrator.

  2. Type "devenv /installvstemplates" and press Enter.

    NoteNote

    If you are using an Express Edition of Visual Studio, type "<ExpressName>Express /installvstemplates" where <ExpressName> is either VB or VCS for Visual Basic and Visual C#, respectively.

    If this procedure does not restore the default templates, reinstall Visual Studio.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft