My visual studio templates dialog box is empty. No templates are displayed. Please help!

Last post 09-27-2009 11:35 AM by kstr. 5 replies.

Sort Posts:

  • My visual studio templates dialog box is empty. No templates are displayed. Please help!

    04-18-2008, 5:28 PM
    • Participant
      1,041 point Participant
    • brgdotnet
    • Member since 03-10-2004, 11:59 AM
    • Posts 619

    I am using Microsoft Visual Studio 2005 version 8.0.50727.762 (SP .050727-7600)

    And

    Microsoft .NET Framework Version 2.0.50727 SP1


    TYPICALLY if I want to create a new web form in the VS IDE, I right click on the project and select "Add New item..." from the popup window.
    Then a dialog box is displayed that is named "Add New Item - Solution Items".
    Then inside of this dialog box I am allowed to select among templates "Visual Studio installed templates". The template items are
    "Text file","HTML Page","Style Sheet","XML File","XML Schema","XSLT File" etc. These are tasks we as developers do everyday practically?

    Except now, there seems to be some type of problem going on. If I try and create a new web form or add a new file (.aspx, text etc.) in the Visual
    studio IDE I get the dialog box I just talked about. Except the problem is that the dialog box is empty. In other words, it no longer contains the
    "Visual Studio installed templates" that it normally list.

    Can someone tell me what the heck might be going on? Why am I not presented with any of the usual templates to select from, to build
    my project with? This problem seems to have crept up in the past few weeks and is very strange, because it was not happening previous to
    that time period.

  • Re: My visual studio templates dialog box is empty. No templates are displayed. Please help!

    04-18-2008, 5:39 PM
    Answer

     Hi,

    When you use a registery cleaner, this problem might occur.

    Try this

    Open a new ‘Visual Studio 2005 Command Prompt’.  Once there type the following command at the prompt, press enter and wait…

    devenv /installvstemplates

     

    HTH 

  • Re: My visual studio templates dialog box is empty. No templates are displayed. Please help!

    04-25-2008, 12:43 PM
    • Participant
      1,041 point Participant
    • brgdotnet
    • Member since 03-10-2004, 11:59 AM
    • Posts 619

    Thank you for your help. In your command above, what parameter does "devenv" stand for? I ran your command in the command window and I get an error message. I tried it twice.

    >devenv /installvstemplates

    Command "devenv" is not valid.

    >installvstemplates

    Command "installvstemplates" is not valid.

     

  • Re: My visual studio templates dialog box is empty. No templates are displayed. Please help!

    04-25-2008, 4:44 PM

    Hello,

    Use the Visual Studio Command Prompt.

    Start | Programs | VS | VS Tools ...

     

    Regards 

  • Re: My visual studio templates dialog box is empty. No templates are displayed. Please help!

    01-08-2009, 9:03 AM
    • Member
      2 point Member
    • RockstarRob
    • Member since 12-22-2008, 10:05 PM
    • Posts 3

    I don't appear to have a Command Prompt.

    It's not in the C:\Program Files\Microsoft Visual Studio 9.0\VC\ directory.

    All I have in that directory is a folder named vcpackages

     

    Any ideas?

  • Re: My visual studio templates dialog box is empty. No templates are displayed. Please help!

    09-27-2009, 11:35 AM
    • Member
      2 point Member
    • kstr
    • Member since 09-27-2009, 11:34 AM
    • Posts 1

    If you have vista, run the visual studio command prompt as administrator.  Then  try devenv /installvstemplates


    greetings

Page 1 of 1 (6 items)