Opening dub packages in Mono-D

evilrat via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Sep 30 21:02:18 PDT 2014


On Tuesday, 30 September 2014 at 21:47:01 UTC, Phil wrote:
> I'm trying to use Mono-D, but can't work out how to do simple 
> things. I've tried looking for tutorials but this 
> http://wiki.dlang.org/Mono-D is all I could find.
>
> I want to reference Pegged from a Mono-D project. I can't add 
> its package.json as a project to my solution as I'm told that 
> this file in the incorrect format. How should I be doing this, 
> and is there a basic tutorial for idiots available anywhere?
>
> Thanks

mm... is your 'project' a dub package itself? if not, convert it 
to dub and add it to dependency section in your dub package. then 
you will be able to open your fresh created project using mono-d 
with all its dependencies, a bonus you will be able to generate 
visuald project files too.

there is described what to add to include it
http://code.dlang.org/packages/pegged


More information about the Digitalmars-d-learn mailing list