Sharing VS code and MonoDevelop

Bending his head against the wall, trying to find a good workflow for exchanging codes between several WP7, iOS and Android applications, they are all implemented in .NET / Mono. Has anyone understood this?

+4
source share
2 answers

I have some code sharing experiments that you can see here: http://granite.codeplex.com/

What I have learned so far:

  • Clean business objects are your best friend. Pushg as much logic as possible in them.

  • Testing frameworks on mobile devices is practically useless, but you can unit test get rid of your business objects using desktop platforms (.NET or Mono).

  • Mono has more bugs than .NET, so make sure you run your unit tests against it.

  • Make sure you use a source control that works with MonoDevelop. This means no TFS.

  • Ensure that you are using the unit test framework supported by Mono. (e.g. NUnit)

  • View models can be used in conjunction with the right level of abstraction, but maybe itโ€™s not worth it.

+3
source

I use SVN to encode in Mono on PC / MAC / LINUX - I rarely do anything on Linux other than POC.

As for the workflow for sharing libraries between all of these different systems - good luck. All I can offer is: - Be sure to unit test, as Jonathan pointed out - Know all the compiler hints available - Avoid P / Invoke or any special O / S calls, if possible - Pray

Good luck :-)

+1
source

Source: https://habr.com/ru/post/1393077/


All Articles