Wednesday, May 21, 2008

Where are my Visual Stuido templates?

On both my Work and home PC recently i have lost all of my VS 2005 file templates. These are the template that dump all the default stuff intot he file when you click "add new... class" or "add new... web control" etc
As i install new stuff all the time, mainly just to kick the tyres, it is hard to point the finger at anything in particular...so iwont, either way it has pissed me off.

Any way if you find you have this issue:

devenv /installvstemplates

is the command to get you back on track.

This seems to happen when new templates have been added (ie you have added a new framework, just as a .net upgrade, or new test framwork etc

No comments: