Visual D MSBuild + DUB dependencies

Rainer Schuetze r.sagitario at gmx.de
Mon Dec 17 08:30:40 UTC 2018



On 16/12/2018 21:26, Markus Pursche wrote:
> Hi, I was wondering if there is any future plans on adding DUB
> dependency support to the VisualD MSBuild project type, to still allow
> for package management using DUB?
> 
> I love the integration with MSBuild, it has made things a lot easier
> when writing a hybrid C++/D application, but my current solution to
> using DUB packages is to simply download it and either drop the source
> straight into my project or adding it as a static library. I would love
> to have the best of both worlds, MSBuild integration with a VisualD
> options page for DUB dependencies. Is this a feature under consideration
> for the future?

I've been trying to integrate dub to some extend in the past, but the
outcome wasn't satisfactory so far (IIRC it's dependency checks were
incomplete and building was slow).

The current recommended workflow is to build Visual D projects with "dub
generate", but unfortunately these projects don't cover the usual
configurations and platforms.

Maybe it's time to add an msbuild generator to dub. I guess it should
integrate dependencies similar to nuget.

> 
> Great job with VisualD by the way, keep it up!

Thanks.


More information about the Digitalmars-d-ide mailing list