I have an item template that I did wrong and want to delete. I deleted the zip file from the output location and ran devenv /installvstemplates and devenv /setup and when I opened VS and tried to add a new item it was still there. stranger still, I can still use it and create copies of the file, so it must exist somewhere. Is there somewhere that visual studio stores the files after being installed that I need to delete? I also cant change the template, it stays the same no matter what I do.

Edit: If it makes a difference I am using XNA GS 4.0

There are several places the Visual Studio might store a template. Deleting the .zip file from any of the locations below should remove it from the list:

  • %LocalAppData%\Microsoft\VisualStudio\10.0\Extensions
  • %LocalAppData%\Microsoft\VisualStudio\10.0\ -> ProjectTemplatesCache_{xx}
  • %UserProfile%\My Documents\Visual Studio 2010\Templates

If the Template was installed via an extension, you can clear it out from the top directory above, or you can follow the official instructions:

Tools -> Extension Manager -> Installed Extensions -> Templates -> YourTemplate -> [Uninstall|Disable]