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
You can use xbuild to build sln or csproj files. xbuild is bundled with a standard mono install.
You can call dmcs
, which is the .NET 4 Mono compiler, directly. For details, see the CSharp Compiler page.
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