Thread overview
How to build project with dmd using Xamarin Studio?
Apr 11
Dr.No
Apr 11
Dr.No
Apr 11
Dennis
3 days ago
Dr.No
April 11
Does anyone knows how to build project with dmd using Xamarin Studio? I've installed already a working mono-D version but which build using dmd by default, I want to switch to use dub.
April 12
On 12/04/2018 4:06 AM, Dr.No wrote:
> Does anyone knows how to build project with dmd using Xamarin Studio? I've installed already a working mono-D version but which build using dmd by default, I want to switch to use dub.

Mono-D supports dub.json (not dub.sdl) when opening a project.
Simple and works well.

Compile from command line however.
April 11
On Wednesday, 11 April 2018 at 16:15:52 UTC, rikki cattermole wrote:
> On 12/04/2018 4:06 AM, Dr.No wrote:
>> Does anyone knows how to build project with dmd using Xamarin Studio? I've installed already a working mono-D version but which build using dmd by default, I want to switch to use dub.
>
> Mono-D supports dub.json (not dub.sdl) when opening a project.
> Simple and works well.
>

I've tried already open dub.json but I got this error:

Load operation method not found: 'System.Collections.Generic.IEnumerable`1<MonoDevelop.Projects.Project> MonoDevelop.Projects.WorkspaceItem.GetProjectsContainingFile(MonoDevelop.Core.FilePath)

Do you know which version you've used it successfully? I'm stuck to version 5.0.1 because it was the only one that Mono-D worked for me. Newly version it just didn't work at all.

> Compile from command line however.

I'd like to press Ctrl+F5 then it actually run dub rather dmd but if it isn't possible by now, I can compile by command line.
April 11
On Wednesday, 11 April 2018 at 16:15:52 UTC, rikki cattermole wrote:
> Mono-D supports dub.json (not dub.sdl) when opening a project.

I can open a dub.sdl project just fine.
I got Xamarin Studio 5.10 from here: https://github.com/aBothe/Mono-D/issues/648
I ran dub init, opened the dub.sdl as a solution in Xamarin Studio and Ctrl + F5 builds using dub.
3 days ago
On Wednesday, 11 April 2018 at 21:11:43 UTC, Dennis wrote:
> On Wednesday, 11 April 2018 at 16:15:52 UTC, rikki cattermole wrote:
>> Mono-D supports dub.json (not dub.sdl) when opening a project.
>
> I can open a dub.sdl project just fine.
> I got Xamarin Studio 5.10 from here: https://github.com/aBothe/Mono-D/issues/648
> I ran dub init, opened the dub.sdl as a solution in Xamarin Studio and Ctrl + F5 builds using dub.

Awesome! I download this version:

http://globecsys.com/XamarinStudio-5.10.0.871-0.msi

Which worked fine opeing dub.json and compiling with dub.
Thanks :)