5

I dont know whether this is considered a programming question or not, so correct me if im wrong. How can i get mono develop to compile my c# projects?

At present it wont build, and i get an error saying 'could not obtain c# compiler, c# compiler not found for mono / .net 3.5' as i understand it, the c# compiler for mono is dmcs. Calling dmcs from terminal works fine. How can i get mono develop to build correctly?

13

you can also install the compiler for the versions

sudo apt-get install mono-gmcs
3

You can work around this by switching your project's runtime to .NET 4.0

1
  • Mine was set to 2.0, and I had only downloaded mcs (which compiles for 4.0. I changed properties, it worked :D – MestreLion Mar 29 '13 at 10:41
2

You also can stay with the previous mono/.net (such as 2.0, 3.0) by installing the respective compiler. Go to the Ubuntu Software Center, and search for "C# compiler", you will find the earlier compiler there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.