VisualD and dub imports - module X is in 'X.d' which cannot be read

Geoff Howland via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Mon Feb 16 23:52:45 PST 2015


On Monday, 16 February 2015 at 01:29:32 UTC, Geoff Howland wrote:
> Hopefully this is the right forum to use for this question, Im 
> having a problem with VisualD and dub builds.
>
> I made a simple vibe.d project with Dub, it works from CLI and 
> in VisualD.  When I add the "dyaml" package to dub.json, the 
> CLI still works, but the VisualD compiler gives me this error 
> "module yaml is in file 'yaml.d' which cannot be read".

I solved this:  it requires "dub generate visuald" to be run 
again.  Apparently needed after any changes to dub.json, as it 
does not get picked up automatically.  This added the entries to 
the VisualD project XML files, and then the module/files could be 
found.

-g


More information about the Digitalmars-d-ide mailing list