6

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

2 Answers 2

11

You can use xbuild to build sln or csproj files. xbuild is bundled with a standard mono install.

Sign up to request clarification or add additional context in comments.

Comments

2

You can call dmcs, which is the .NET 4 Mono compiler, directly. For details, see the CSharp Compiler page.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.