Creating a C # console project from a Linux terminal using Mono

I have Mono Develop installed on my Ubuntu machine. How can I create a C # console project from a terminal. My goal is to write a Makefile.

I want to find the equivalent:

msbuild MyProject.csproj /p:OutputPath=%~dp0 
+4
source share
2 answers

You can use xbuild to create sln or csproj files. xbuild comes with a standard mono installation.

+9
source

You can directly call dmcs , which is the .NET 4 Mono compiler. See the CSharp Compiler Page for more details.

+2
source

All Articles