Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aBothe/Mono-D

D Add-In for MonoDevelop
https://github.com/aBothe/Mono-D

Last synced: 14 days ago
JSON representation

D Add-In for MonoDevelop

Awesome Lists containing this project

README

        

Mono-D is a language binding for MonoDevelop for the [D Programming language](http://dlang.org).

[Project site](http://wiki.dlang.org/Mono-D).

Few (none?) GNU/Linux distros package a new enough MonoDevelop required by Mono-D.
You can download pre-built binaries built with mono3 below. Unpack to `/opt/mono`.
* [MonoDevelop GNU/Linux **x64**](http://simendsjo.me/files/abothe/MonoDevelop.x64.Master.tar.xz)

# How to initialize Mono-D development under Linux

[![Join the chat at https://gitter.im/aBothe/Mono-D](https://badges.gitter.im/aBothe/Mono-D.svg)](https://gitter.im/aBothe/Mono-D?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

* Setup MonoDevelop to use /opt/mono instead of other runtimes
- Open MonoDevelop
- Go to Edit -> Options -> Projects tab -> .NET Runtimes
- Enter /opt/mono as new runtime if it's not there already!
- Select it as standard runtime
- Now you can build Mono-D with its gtk-sharp dependencies and no Mono.Cairo conflicts
* Clone Mono-D
- Open a terminal in your projects folder
- `git clone https://github.com/aBothe/Mono-D.git`
- `cd Mono-D`
- `git submodule init`
- `git submodule update`
* Build Mono-D
- Open & build the main solution
- Add symlinks from projectdir/Mono-D/bin/Debug/* to your MonoDevelop AddIns folder
- `cd /opt/mono/lib/monodevelop/AddIns`
- `ln -s -d %YourProjectDirectory%/Mono-D/bin/Debug D`
- In the solution view, open the MonoDevelop.D options -> Properties -> Run -> Custom Commands
- Choose Execute
- Set `/opt/mono/bin/monodevelop` as executable
- Working directory can be left empty
- Confirm via OK
- Press F5 to debug

# How to initialize Mono-D development under Windows

* Clone Mono-D
- Open a git bash in your projects folder
- `git clone https://github.com/aBothe/Mono-D.git`
- `cd Mono-D`
- `git submodule init`
- `git submodule update`
* Build Mono-D
- Open & build the main solution inside Visual Studio or Xamarin Studio (the latter is required to do changes on Gtk#-based Option Panels etc.)
- Add symlinks from projectdir/Mono-D/bin/Debug/* to your MonoDevelop AddIns folder
- Run the `make symlink.bat` that is located inside the folder root
- You might want to set a new default executable path to XamarinStudio.exe, but normally, this is not necessary if you've installed XS via the normal installer
- Run & Debug Mono-D