Thursday, April 26, 2007

"mono --version" and "mcs --version" return the version of the Mono distribution.

Mono C# compiling can be done for following following runtimes
  • mcs: compiler to target 1.1 runtime.
  • gmcs: compiler to target the 2.0 runtime.
To create a dynamic library using the gmcs just use the following command.

"gmcs -t:library -out:sss.dll -recurse:Com.test.foo.SSL\*.cs"

To execute the compiled exes use the following command.
"mono foo.exe "

To compile with gtk# for UIs use the following command.
mcs -pkg:gtk-sharp-2.0 -recurse:Com.test.foo.SSL\*.cs

No comments: