Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to create a shared backend logic using .NET and have the respective GUI front ends in MonoTouch and MonoDroid?

share|improve this question

Yes, with some limitations due to the way MonoTouch works. Apple do not allow running of any background VM or service in order to JIT compile CLR applications, so all MonoTouch applications are AOT compiled, resulting in loss of dynamic abilities and reflection. The link will detail what is missing, and there's another link in there showing which libraries are available to MonoTouch apps.

MonoDroid does not suffer the same limitations because Android can run the full VM. So if you need to share a library between the two, you should build the library using the MonoTouch capabilities, and keep any dynamic related code in the MonoDroid projects only.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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