I have recently installed mono on my Linux box, in order to be able to do some .Net programming in a more familiar environment.
I am trying to build a solution from the command line without having to fireup the heavy monodevelop. On windows this can be done using Msbuild.exe. I cannot seem to find that file with the mono tools.
The nearest is mdtool which (if I understand correctly) is used to build individual projects instead of an entire solution).
How may I build an entire solution from the command line on Linux using mono?
BTW, I am running Ubuntu 10.0.4
. NET is an open source software framework for building cross-platform applications on Linux, Windows, and macOS.
The mono command executes a compiled Mono program in the virtual machine. mono uses a just-in-time compiler (JIT) to translate the compiled CIL bytecode to machine code for execution. The Hello.exe program can be run with mono Hello.exe.
Simply run xbuild just as you would execute msbuild on Microsoft .Net Framework. You don't need Monodevelop installed, xbuild comes with the standard Mono installation.
https://stackoverflow.com/a/56113/73381 (possible duplicate)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With