Reputation: 29248
I have Mono Develop installed on my Ubuntu machine. How could I build my C# console project from terminal. My objective is to write a Makefile.
I wish to find out the equivalent of:
msbuild MyProject.csproj /p:OutputPath=%~dp0
Upvotes: 6
Views: 6190
Reputation: 61497
You can use xbuild to build sln or csproj files. xbuild is bundled with a standard mono install.
Upvotes: 11
Reputation: 564821
You can call dmcs
, which is the .NET 4 Mono compiler, directly. For details, see the CSharp Compiler page.
Upvotes: 2