Search code examples
visual-studio-2008

How to update Visual Studio Template Cache


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?


Solution

  • Open up the Visual Studio Command Prompt and type in:

    devenv /installvstemplates
    

    Source: How to Edit Visual Studio Templates