www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Mono-D dub solution problem

reply "Mineko" <minekorox gmail.com> writes:
Alright, so I've been testing out Mono-D, and I loaded a dub 
json, however if I tried to load it again, the things I added go 
missing.

Is there a way to incorporate dub into a MonoDevelop solution or 
have the dub json thing remember the directories and files I 
added to the project?

Thanks for your time.
Apr 27 2014
parent reply "Mathias LANG" <pro.mathias.lang gmail.com> writes:
On Monday, 28 April 2014 at 05:49:18 UTC, Mineko wrote:
 Alright, so I've been testing out Mono-D, and I loaded a dub 
 json, however if I tried to load it again, the things I added 
 go missing.

 Is there a way to incorporate dub into a MonoDevelop solution 
 or have the dub json thing remember the directories and files I 
 added to the project?

 Thanks for your time.
Are you talking about https://github.com/aBothe/Mono-D/issues/432 ? If not, you can just load a dub.json / package.json directly, and Mono-D would create a solution for you. It is supposed to work that way, but because of the previously mentionned issue, I never gave it a try. If you need further help, I recommend you to go to mono-d's IRC channel (#d.mono-d on irc.freenode.net ), where you will get more attention there than here, also you will find alex, which is the main dev for mono-d and is very helpful.
Apr 29 2014
parent reply "Mineko" <minekorox gmail.com> writes:
Thank you Mathias, I will go to that IRC later today.

I didn't have a problem with opening up a dub json and it 
creating a solution, I had a problem with the dub json solution's 
persistence, I would add say spotLight.d in folder src/lights, 
and it would not stay next time I opened up the dub solution.


On Tuesday, 29 April 2014 at 20:22:24 UTC, Mathias LANG wrote:
 On Monday, 28 April 2014 at 05:49:18 UTC, Mineko wrote:
 Alright, so I've been testing out Mono-D, and I loaded a dub 
 json, however if I tried to load it again, the things I added 
 go missing.

 Is there a way to incorporate dub into a MonoDevelop solution 
 or have the dub json thing remember the directories and files 
 I added to the project?

 Thanks for your time.
Are you talking about https://github.com/aBothe/Mono-D/issues/432 ? If not, you can just load a dub.json / package.json directly, and Mono-D would create a solution for you. It is supposed to work that way, but because of the previously mentionned issue, I never gave it a try. If you need further help, I recommend you to go to mono-d's IRC channel (#d.mono-d on irc.freenode.net ), where you will get more attention there than here, also you will find alex, which is the main dev for mono-d and is very helpful.
Apr 29 2014
next sibling parent "Mineko" <minekorox gmail.com> writes:
Alex on the IRC gave me an answer, just put your source files in 
a source folder, you can configure that via the dub json. (src is 
the default)
Apr 30 2014
prev sibling parent "Dejan Lekic" <dejan.lekic gmail.com> writes:
 Thank you Mathias, I will go to that IRC later today.
You can go to "that" IRC via this link: http://webchat.freenode.net?randomnick=1&channels=d.mono-d or, if you have a web-browser capable of handling IRC protocol (Opera, or FireFox with Chatzilla extension): irc://irc.freenode.net/d.mono-d Enjoy!
May 02 2014