缺少项目/项目模板 [英] Missing Project/Item Templates

查看:128
本文介绍了缺少项目/项目模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Visual Studio 2010,最近在家和在工作中都遇到了问题,即已安装的模板"中缺少项目.所有这些项目和名为"Data"的文件夹都丢失了,所以现在有SQLDatabase,DataSet,AdoNet实体数据模型,LinqToSQL,XMLFile等...

I have Visual Studio 2010 and recently both at home and at work have had an issue with missing projects in the Installed Templates. All that projects and the folder called 'Data' is missing So now SQLDatabase, DataSet, AdoNet Entity Data Model, LinqToSQL, XMLFile, etc...

到目前为止已解决的问题:

Fixes tried so far:

  1. 卸载一些最新的框架插件或相关产品,然后它又回来了.
  2. 最常见的修复方法是执行"devenv/installvstemplates"命令,该命令对我不起作用.
  3. 在中检查zip文件 C:\ Program Files(x86)\ Microsoft Visual Studio 10.0 \ Common7 \ IDE \ ProjectTemplates \ CSharp \ Data \ 1033文件夹,其中包含所有适当的zip文件.也与ItemTemplates文件夹相同.
  4. 重新安装-尝试了3次,甚至连删除所有reg键和与VS2010无关的所有文件夹的运气都没有.
  5. 所有VS2010设置和其他相关命令全部完成重置.
  1. uninstall some recent framework addon or related products and it comes back.
  2. The most common fix is to do 'devenv /installvstemplates' command which has not worked for me.
  3. check for zip file in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\Data\1033 folder and is contains all the appropriate zip files. Also the same for ItemTemplates folder.
  4. Reinstall - Tried this 3 times no luck even went as far as to remove all reg keys and every folder that had anything to do with VS2010.
  5. All complete reset of all VS2010 settings and other related commands.

我不知所措.在重新安装完整的操作系统之后,这似乎有些困难.任何人都有更好的解决方案吗?

I'm at a lose at what to do next. Beside a complete OS re-install which seems a little drastic. Anyone have a better solution please?

推荐答案

以提升的特权运行devenv.exe /installvstemplates

这篇关于缺少项目/项目模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆