When missing Visual Studio project template...
cross from http://blogs.msdn.com/rextang
One of my dev VM had missing all the project template while trying to new a project from selecting "New Project". had found this forum thread and by running "DevEnv /InstallVSTemplates" from elevated VS2008 Command prompt, all the template just came back without problems.
FYI.