如何更新 Visual Studio 模板缓存 [英] How to update Visual Studio Template Cache
问题描述
我已使用以下路径更新了 Visual Studio 2008 中的默认模板:
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
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
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplatesCache\Web\CSharp\1033
我想知道什么时候从它的 zip 文件中提取新的项目模板并将其放入 Visual Studio 的项目模板缓存中?
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?
推荐答案
打开 Visual Studio 命令提示符并输入:
Open up the Visual Studio Command Prompt and type in:
devenv /installvstemplates
这篇关于如何更新 Visual Studio 模板缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!