www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - dub with VisualD

reply Patrick Schluter <Patrick.Schluter bbox.fr> writes:
Just a dumb question, how does one use dub with VisualD? I have a 
project that compiles without issue with dub. It has 2 
dependencies, dxml and dwt.
dxml is no problem, dwt is a bit bigger. Dub has no issue to 
download and compile it.
With Visual Studio I was not able to instruct the IDE to either 
take the dependencies from the dub.json or to call dub to build 
the program.
Jul 21 2020
parent Arjan <arjan ask.me.to> writes:
On Tuesday, 21 July 2020 at 20:03:36 UTC, Patrick Schluter wrote:
 Just a dumb question, how does one use dub with VisualD? I have 
 a project that compiles without issue with dub. It has 2 
 dependencies, dxml and dwt.
 dxml is no problem, dwt is a bit bigger. Dub has no issue to 
 download and compile it.
 With Visual Studio I was not able to instruct the IDE to either 
 take the dependencies from the dub.json or to call dub to build 
 the program.
I presume you did generate visual studio solution and projects from the dub.json/dub.sdl using the `dub.exe generate visuald <dub.json>`? When that doesn't work out. Try to build dwt first through visuald with a dub generated visual studio solution.
Jul 21 2020