Skip to content
D Add-In for MonoDevelop
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
MonoDevelop.DBinding
Parser @ cf003d3
build
ext
.gitignore
.gitmodules
MonoDevelop.DBinding.sln
addin-project.xml
license.txt
make symlink.bat
readme.md

readme.md

Mono-D is a language binding for MonoDevelop for the D Programming language.

Project site.

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.

How to initialize Mono-D development under Linux

Join the chat at https://gitter.im/aBothe/Mono-D

  • 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
You can’t perform that action at this time.