I deleted the exported zip file that was placed in my exported templates folder and of course it still shows in Visual Studio's "Add New Project" dialog. I expected that but I'm having a difficult time finding where else the template files are stored. How do I remove a custom template?
Edit
I've searched the following folders (and numerous others, but these are the most obvious):
%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates
%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplatesCache
%userprofile%\Documents\Visual Studio 2010\My Exported Templates
%userprofile%\Documents\Visual Studio 2010\Templates\ProjectTemplates
Not sure if it matters, but I'm also using Windows 7 for my OS.
Try looking under %userprofile%\Application Data\Microsoft\VisualStudio\10.0\ProjectTemplatesCache
. This is where the unzipped cache of the template would usually be stored. If it isn't there, try searching for a folder named ProjectTemplatesCache anywhere in your user data directory.
Awesome, that did it! I couldn't initially see the Application Data folder because access was denied (probably a security policy enforced by our admins) but of course Microsoft and it's subfolders were accessible. Deleted the cached templates and life is prettier now. Thanks!
For VS2013 on Win7:
%userprofile%\Application Data\Microsoft\VisualStudio\12.0\ProjectTemplatesCache
For VS2017 users is correct path: %APPDATA%\Microsoft\VisualStudio\<version_and_optional_ID>\ProjectTemplatesCache
For VS 2019 it was this folder (installation specific)
C:\Users\User\AppData\Roaming\Microsoft\VisualStudio\16.0_9daf0883\ProjectTemplatesCache
For VS Enterprise version 15.9.16 and Windows 10 Enterprise
C:\Users\<User>\AppData\Roaming\Microsoft\VisualStudio\15.0_ef05b42e\ProjectTemplatesCache