Thread overview
Opening dub packages in Mono-D
Sep 30, 2014
Phil
Oct 01, 2014
evilrat
Oct 01, 2014
Phil
September 30, 2014
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
October 01, 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
October 01, 2014
> 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

Ah right. That works, thanks.