www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Mono-D/Xamarin - No dub file?

reply "Gan" <avisaria me.com> writes:
I created a new D language project in Xamarin with the D language 
binding. I've been making a project and am at the point where I 
want to add a dub library.

It says to add:
"dependencies": {
		"dbox": ">=0.0.7-alpha"
	}

in the dub file but my project wasn't created with a dub file. 
How do I include the dependency?
Feb 08 2015
parent "Dmitry" <dmitry indiedev.ru> writes:
On Sunday, 8 February 2015 at 10:35:45 UTC, Gan wrote:
 I created a new D language project in Xamarin with the D 
 language binding. I've been making a project and am at the 
 point where I want to add a dub library.

 It says to add:
 "dependencies": {
 		"dbox": ">=0.0.7-alpha"
 	}

 in the dub file but my project wasn't created with a dub file. 
 How do I include the dependency?
Create new project via dub, like dub init projectname and then open it in Xamarin (you need select dub.json)
Mar 04 2015