Item templates are lost

Last post 03-20-2009 1:05 AM by Preston B. 3 replies.

Sort Posts:

  • Item templates are lost

    03-18-2009, 8:59 PM
    • Member
      274 point Member
    • pizzamaker74
    • Member since 09-26-2006, 12:31 AM
    • Melbourne Australia
    • Posts 236

    I've somehow removed my Item templates from my Visual Studio 2008 installation.

    When I attempt to add new items ( right click in solution explorer> add new item ) almost all the items are not there.

    I uninstalled and re-installed Visual studio 2008 again, but the items are still not there.

    I don't have much space left on my C so I didn' t check all options.

     

    Does anyone know how to

    a) install the default templates manually

    b) which of the Visual Studio installation checkboxes should be checked (if any) for the default templates to be installed.

  • Re: Item templates are lost

    03-19-2009, 1:21 AM
    Answer
    • Member
      604 point Member
    • Preston B
    • Member since 07-14-2008, 11:21 PM
    • Posts 128

    Hi, 

    You can try running the following command from the VS command prompt...

    devenv /InstallVSTemplates

    To get to the command prompt: Start>All Programs>Visual Studio 2008>Visual Studio Tools>Visual Studio 2008 Command Prompt.

    The command will run 'silently'. After it's done, open VS and try to add a new item.

    I can't answer your second question, since I did a 'Complete' install and then upgraded to SP-1.

    I hope this helps,

    -Preston

    Preston Birdwell
    Columbia, CA USA
  • Re: Item templates are lost

    03-19-2009, 6:51 PM
    Answer
    • Member
      274 point Member
    • pizzamaker74
    • Member since 09-26-2006, 12:31 AM
    • Melbourne Australia
    • Posts 236

    I ended up having to perform a complete install over the top of my previous. Then I ran the devenv /InstallVSTemplates command.

    Thanks!

  • Re: Item templates are lost

    03-20-2009, 1:05 AM
    • Member
      604 point Member
    • Preston B
    • Member since 07-14-2008, 11:21 PM
    • Posts 128

    Thanks. Glad to be of help. Sorry you had to reinstall. I was hoping that would not be necessary.

    I'm glad you got it working.

    Cheers,

    -Preston

    Preston Birdwell
    Columbia, CA USA
Page 1 of 1 (4 items)