https://issues.dlang.org/show_bug.cgi?id=15106
--- Comment #12 from Rainer Schuetze <r.sagita...@gmx.de> --- > We (LDC) also auto-detect MSVC installations now, so this should be fixed. I just realized that LDC checks VSINSTALLDIR, not VCINSTALLDIR which is set by Visual D. This causes the batch with the auto detection to be run, but it uses the highest installed version of VS. That is not necessarily the version I'm not currently working with (and might want to link D code with C++ code). Visual D should probably also set VSINSTALLDIR to disable auto detection in LDC. --