Login Page - Create Account

Support Board


Date/Time: Sat, 11 Jan 2025 15:50:19 +0000



Post From: Visual Studio Community Edition 2015

[2016-12-06 20:10:53]
CarlRostron - Posts: 80
There is a problem when trying to Add C++ files in your step of help in documentation (a potential bug in Visual Studio Express for Desktop:

Add Source Code to Your Project
[Link] - [Top]
So far we have a project but as you see, the source folder is empty.

Add an empty c++ file - under Solution Explorer, right click Source Files and select Add >> New Item... like so

To fix this change this Registry Key:
...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"

Worked like a charm for me on Windows 10