Knocking my head against the wall trying to figure out a good workflow for sharing code between a few WP7, iOS, and Android applications, all implemented in .NET/Mono. Anyone has figured this out?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have some experiments in code sharing that you can see here: http://granite.codeplex.com/
What I’ve learned so far:
Pure business objects are your best friend. Pushg as much logic as possible into these.
Testing frameworks on mobile devices are just about useless, but you can unit test the heck out of your business objects using the desktop platforms (.NET or Mono).
Mono has more bugs that .NET, so make sure you run your unit tests against it.
Make sure you use a source control that works with MonoDevelop. That means no TFS.
Make sure you use a Unit Test framework that Mono supports. (e.g. NUnit)
View-models can be shared with the right abstraction layer, but it may not be worth it.