www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Visual D MSBuild + DUB dependencies

reply Markus Pursche <pursche01 gmail.com> writes:
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?

Great job with VisualD by the way, keep it up!
Dec 16 2018
parent Rainer Schuetze <r.sagitario gmx.de> writes:
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.
Dec 17 2018