All the tips thus far have been for project templates created by you or someone else. Let’s say you want to make a modification to an installed template, like remove some of the default ones from appearing. Or even adding one to the Program Files directory for anyone on that computer to use.
Since this involves modifying your Program Files directory, I strongly advise doing this at your own risk, as you’ll need administrator privileges anyways.
The installed project templates are located at
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates
If you want to remove the Office template from the C# New Project Dialog
- Move the Office folder found in the C# folder somewhere else.
- Close all instances of Visual Studio.
- from cmd line, run devenv.exe /installvstemplates (Wait until the devenv.exe process in Task Manager finishes.)
- launch VS
If you launch VS before step 3 completes, none of your default project templates will appear and you will the following error message when you try to open the New Project Dialog.
If you get this warning. Try steps 3 and 4 again, but wait for devenv.exe to finish running in Task Manager. (and make sure all instances of VS are closed).