17
votes

I've updated a default template in Visual Studio 2008 with the following path:

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\Web\CSharp\1033

But when I've tried adding a new file with this type of template, I'm still getting the old version which I have found to be cached in this folder path:

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplatesCache\Web\CSharp\1033

What I would like to know is when does a new project template get pulled from it's zip file and put into the Item Tempate Cache in visual studio?

2

2 Answers

31
votes

Open up the Visual Studio Command Prompt and type in:

devenv /installvstemplates

Source: How to Edit Visual Studio Templates

1
votes

I had the same issue. What was here did not work for me. What I did however is to go to a specific folder and edit the files directly. Just go there :

%AppData%\Microsoft\VisualStudio\{some_version}\ItemTemplatesCache\

It contains folders named after the zip files from your archives in the template folder. I needed admin priviledge for edits.

Enjoy.