Comment #0 by thomas.hedstrom — 2019-04-25T23:33:19Z
When installing VisualD it can find DMD Install path automatically.
For LDC there seems to be no support for a correct "installation" only zip-files.
Why not make a few guesses of the location during installation ?
(Assuming an LDC installer is not the pipe yet)
IMO the first guess would be "C:\D\LDC" (Beside the dmd2 installation path).
Comment #1 by r.sagitario — 2019-04-28T08:19:24Z
Yes, LDC doesn't have a registry entry that can be used as the default. I've never used the default path myself, not sure how often it will actually work.
It has also been proposed to integrate DMD and LDC installation with the Visual D installer, I'll probably explore that road...
Comment #2 by thomas.hedstrom — 2019-04-29T16:20:28Z
Yes that would be a much better solution.
As inspiration for VS integration I recommend looking at VisualGDB:
https://visualgdb.com/tutorials/risc-v/
They seem to go all the way...downloading toolchains as needed for different projects/targets etc.