Bug 19255 – ldmd2.exe not found - must be in PATH?

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2018-09-20T19:02:45Z
Last change time
2018-10-05T18:30:36Z
Assigned to
No Owner
Creator
kinke

Comments

Comment #0 by kinke — 2018-09-20T19:02:45Z
Hey Rainer. I think I'm using v0.47, at least that's what I just installed, but VS (2017) keeps telling me the plugin version is still v0.46. Anyway, I just tried building DMD master with the provided .sln, after changing the D compiler to LDC (1.11 multilib) in the general project settings. It's apparently trying to invoke ldmd2.exe without any path and fails to find it (unless an LDC bin dir is in PATH). I've obviously set the LDC install dir appropriately in the VisualD settings and even added the bin folder explicitly to 'executable paths'.
Comment #1 by r.sagitario — 2018-09-21T09:07:49Z
VS2017 stores settings in a private registry that msbuild cannot access. msbuilding with Visual D 0.47 also checks HKLM\Software\LDC\InstallationFolder, but the latest visuald from Appveyor https://ci.appveyor.com/project/rainers/visuald also places the settings into a HKCU-key. Please note that the new compiler detection fails in the appveyor build because of a bug in phobos in stock dmd.
Comment #2 by kinke — 2018-10-05T18:30:36Z
Working with v0.48-beta1.