“已安装"下没有任何内容在 VS 2013 中添加新项目时? [英] Nothing under "installed" when adding new item in VS 2013?

查看:24
本文介绍了“已安装"下没有任何内容在 VS 2013 中添加新项目时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Visual Studio 2013 中添加一个新的 C/C++ 文件项.但是,当我单击添加新项"时,已安装"下绝对没有任何内容.我正在寻找 Visual C++ >C++ 下安装.. 有什么问题?

有什么我应该安装的吗?在在线"下,我只看到templates>visual c#.

感谢您的帮助,Google 对此没有任何回报.

解决方案

这是 Visual Studio Express for Windows Desktop 安装中的一个错误.与完整软件相比,他们忘记更改注册表项以反映快速安装的不同目录结构.

它列在解决方法"选项卡中并粘贴在此处以供参考(最初来自 Microsoft Connect,已停用).很有魅力.

<块引用>

...更新注册表中的 TemplatesDir 位置.下面给出了更新的关键.

[HKEY_CURRENT_USER\Software\Microsoft\WDExpress\12.0_Config\Projects{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC943}\AddItemTemplates\TemplateDirs{F1C25864-3097-11D2060-15C906-15C906-11D206-11C91-06

"TemplatesDir"="C:\Program Files (x86)\Microsoft Visual Studio 12.0\\VC\VCProjectItems_WDExpress"

I'm trying to add a new C/C++ file item in Visual Studio 2013. However, when I clicked "add new item", there's absolutely nothing under "installed". I'm looking for Visual C++ > C++ under installed.. What could be wrong?

Is there anything I should be installing? Under "Online", I only see templates>visual c#.

Thanks for any help, Google is returning nothing for this.

解决方案

This is a bug in the Visual Studio Express for Windows Desktop installation. They forgot to change a registry key to reflect the different directory structure for the express installation compared to the full software.

It is listed in the Workarounds tab and pasted here for reference (originally from Microsoft Connect, which was retired). Works like a charm.

...update TemplatesDir location in registry. The key to update is given below.

[HKEY_CURRENT_USER\Software\Microsoft\WDExpress\12.0_Config\Projects{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC943}\AddItemTemplates\TemplateDirs{F1C25864-3097-11D2-A5C5-00C04F7968B4}/1]

"TemplatesDir"="C:\Program Files (x86)\Microsoft Visual Studio 12.0\\VC\VCProjectItems_WDExpress"

这篇关于“已安装"下没有任何内容在 VS 2013 中添加新项目时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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