Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nothing under "installed" when adding new item in VS 2013?

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.

like image 251
LazerSharks Avatar asked Oct 08 '13 22:10

LazerSharks


1 Answers

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"

like image 171
David Brown Avatar answered Sep 17 '22 12:09

David Brown