Thread overview
[Issue 20213] Visual D not working out of the box in Community 2019
Sep 14, 2019
Hans Adler
Sep 15, 2019
Rainer Schuetze
Sep 15, 2019
Hans Adler
September 14, 2019
https://issues.dlang.org/show_bug.cgi?id=20213

Hans Adler <hans.adler@posteo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Hans Adler <hans.adler@posteo.de> ---
After doing all of the following things, it now works:
- Add the DMD bin directory to the PATH.
- Try to install using dub. (Doesn't work as it won't build with latest DMD.)
- Install and run PoseidonD.
- Reboot computer for a second time. (Earlier I forgot to mention the
  reboot after installing Visual Studio.)

I removed DMD from the PATH and it still works, so maybe there was just a second reboot missing. Apparently I need to get into the mindset of rebooting all the time when things go wrong.

As this doesn't look like the kind of bug report now that's likely to see any action, I am marking it resolved/invalid. (I don't think it's invalid, but that seems to be the closest match.)

--
September 15, 2019
https://issues.dlang.org/show_bug.cgi?id=20213

Rainer Schuetze <r.sagitario@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario@gmx.de

--- Comment #2 from Rainer Schuetze <r.sagitario@gmx.de> ---
Thanks for the report. I tried to reproduce it in a fresh VM, but it worked for me with the latest release without reboot (though I restarted VS a couple of times in the process).

Did you use the VC project template? There was probably more information about the failure in the output window.

I think the issue was fixed with 0.50.1: you had to open the Visual D settings once to save the compiler path to a different place where msbuild would find it. Maybe the settings from the previous version caused this to still fail after the update.

The dmd installer should be updated to at least Visual D 0.50, though, that version is the first version that checks for updates.

--
September 15, 2019
https://issues.dlang.org/show_bug.cgi?id=20213

--- Comment #3 from Hans Adler <hans.adler@posteo.de> ---
Thanks for looking into this anyway. Unfortunately I don't understand the reference to "VC project template". I created the projects using the Visual D project templates. The .NET project I tried successfully before the reboot was a C# one. Not sure if this is what you wanted to know.

Based on everything, I think it's really best not to waste any more time on this (other than getting the DMD installer updated) and just keep this report in mind for comparison in case something similar comes up in the future.

--