Missing VS2005 Item Templates (er, most of 'em)


Filed under:
Published Posted Thursday, May 10, 2007 1:36 AM by Nino

While at the Day of .NET, I discovered that I had an issue - my item templates were missing from Visual Studio (except for the PowerShell templates).  Interesting (and damned frustrating, too).  The first thing I did was shut down all devenv.exe, launch a VS command prompt and run devenv /installvstemplates.   Upon completion, I launch devenv to only be disappointed.  I had to run off to my session, and one thing led to another, so I didn't get back to it until tonight.   I had the genius (ha!) idea to uninstall the PowerShell templates.   This just consisted of deleting what was in C:\Users\<username>\Documents\Visual Studio 2005\Templates\ItemTemplates\Visual C#   and \Visual Basic  as well as C:\Users\<username>\Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual C# and \Visual Basic.

 Voila!

Now, to figure out what happened so I can put my beloved PowerShell templates back.   It's rather late (0249, EDT), so I'm off to bed and more later as I sort this issue.

Comments

. Friday, May 11, 2007 11:32 AM

Nino,

What's in your Visual Studio ProjectTemplates folder?

C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates

I have the following items:

CSharp

JSharp

VisualBasic

Web

And, what's in your ItemTemplates folder (C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates)?

I have the following items:

CSharp

JSharp

Test

VisualBasic

VisualC

Web

Ryan

Ryan O'Neill
. Thursday, May 24, 2007 5:04 PM

I don't have the folder called Ryan?

Ray
. Tuesday, May 29, 2007 8:28 AM

Of course you won't.  He was signing his comment with his name. :)

Nino