www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - How to build project with dmd using Xamarin Studio?

reply Dr.No <jckj33 gmail.com> writes:
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.
Apr 11 2018
parent reply rikki cattermole <rikki cattermole.co.nz> writes:
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.
Apr 11 2018
next sibling parent Dr.No <jckj33 gmail.com> writes:
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.
Apr 11 2018
prev sibling parent reply Dennis <dkorpel gmail.com> writes:
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.
Apr 11 2018
parent Dr.No <jckj33 gmail.com> writes:
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 :)
Apr 16 2018