I messed with the settings in the VisualD project settings from
within visual studio:
Compiler: DMD
Output Type: Library
Subsystem: Windows
Output Path: (absolute path to my project root folder)
Intermediate Path: (ditto)\obj
Files to Clan: *.cmd;*.build;*.sep (deleted *.obj)
Compilation: Separate compile and link
Still though, when I hit build or run a .EXE gets produced.
My end goal is to have a C++ / Qt GUI project under Qt Tools for
VS and a VisualD project under the same solution. The Qt/C++ app
then makes use of a class hierarchy defined on the D-side. But
it needs to be either a static library or a DLL obviously!
I generated the project using dub init ... dub generate visuald.
Reason: I needed to add pegged library to the D project.
So I see two ways: figure out how to get VisualD to make a static
library, or figure out how to add pegged to a VisualD-created
project (from which I select "Library" when creating).