Creating and Using a Monodevelop Solution in an OS X Terminal

I would like to create and run a Monodevelop solution from an OS X terminal. What are the appropriate tools / commands for this?

I tried to run mdtools build from the directory containing MySolution.sln . This results in -bash: mdtools: command not found . Where can I download and install mdtools ? (if this is the right way).

I built the solution from the IDE. Then I tried to launch it with bin/Debug using mySolution.exe . This led to the error message -bash: mySolution.exe: command not found (although ls indicates that it exists).

+7
source share
2 answers

On Mac, mdtool not in PATH, but can be found inside an MD application package, for example

 /Applications/MonoDevelop.app/Contents/MacOS/mdtool build MySolution.sln 

Alternatively, you can try xbuild , which is installed as part of Mono and is in PATH. This is an implementation of MSBuild. Unfortunately, it still cannot handle all custom project types that mdtool can handle.

 xbuild MySolution.sln 
+7
source

All Articles