Bug 18982 – Source files are invisible in the project explorer when creating a new project
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2018-06-14T05:30:34Z
Last change time
2018-06-17T21:07:06Z
Assigned to
No Owner
Creator
Manu
Comments
Comment #0 by turkeyman — 2018-06-14T05:30:34Z
I've been noticing an odd bug when creating a new project.
Create new D/C++ project; note, can't see source file in the file tree
Close and reload solution; source file appears in file tree
Very odd little bug.
Not serious, but might be confusing to new users.
Comment #1 by r.sagitario — 2018-06-15T17:30:12Z
Seems to happen in all VS2013-V2017 when creating both DMD and LDC configurations. I suspect VS is expecting to find a "Debug" configuration.
Comment #2 by turkeyman — 2018-06-15T17:41:58Z
I just created one with only x64 DMD and it happened. There is a config called "Debug".
Comment #3 by r.sagitario — 2018-06-15T17:52:41Z
So it only works if there is a "Debug|Win32" configuration?
Comment #4 by turkeyman — 2018-06-15T18:59:04Z
I can confirm that configuration DID work for me.
x86 + DMD worked.
I'm surprised the VS project wizard still unconditionally emits an x86 project. Does anyone build x86 anymore?! O_o
I guess you could remove that x86/x64 selection, and just emit projects with both arch-es to match the C++ pattern...
That's a bit lame though, but if that's what VS does, then I guess that's what VS does!