September 3, 2012

Where Visual Studio 2010 exported templates go

Had problems deleting my templates but eventually I found the solution
Templates are exported to here:
%userprofile%\Documents\Visual Studio 2010\My Exported Templates
Installed to here:
%userprofile%\Documents\Visual Studio 2010\Templates\ProjectTemplates\Visual C# - Project templates install to here
%userprofile%\Application Data\Microsoft\VisualStudio\10.0\ProjectTemplatesCache - Project templates go here as well
%userprofile%\Documents\Visual Studio 2010\Templates\ItemTemplates - Item templates, such as a class template install to here
%userprofile%\Application Data\Microsoft\VisualStudio\10.0\ItemTemplatesCache - Item templates, go here as well
To remove a template, close VS and THEN make sure the template is removed from both locations to remove the template permanently.
A better way to install a template is to use the Export Template Wizard to make the exported template an installable extension, this can be later uninstalled in the standard way.