November 21, 2014
https://issues.dlang.org/show_bug.cgi?id=13759

          Issue ID: 13759
           Summary: VS2010 Win64 linker path wrong
           Product: D
           Version: unspecified
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: VisualD
          Assignee: nobody@puremagic.com
          Reporter: turkeyman@gmail.com

Fresh install of VisualD (0.3.40-b1) into VS2010.
New console app, solution defaults to 32bit, add 64bit via the configuration
manager, try and build, linking fails, complains about mspdb100.dll.

The problem:
tools -> options -> project and solutions -> visual d settings -> dmd
directories -> x64 tab

The x64 tab has some additional options, particularly: "override linker settings from sc.ini" which is ticked, and the path in linker defaults to $(VCINSTALLDIR)\bin\link.exe

This path is wrong, that is the 32bit linker. The correct path is:
$(VCINSTALLDIR)\bin\amd64\link.exe

I changed the path and it works as expected.

--