I want to compile a C# app with mono that consists of multiple files (all in 1 directory). What is the command that I need?
+7
A:
Use:
gmcs -out:yourapp.exe -pkg:dotnet *.cs
or
gmcs -out:yourapp.exe -pkg:dotnet35 *.cs
Those commands will reference all the assemblies referenced by default in .NET.
Gonzalo
2009-11-25 01:50:56
+1
A:
Looks like the only thing you need is the output file.
gmcs -out:bob.exe *.cs
Milhous
2009-12-19 06:18:20