[mono-android] [MonoTouch] sharing code between mono touch and mono for android

Miljenko Cvjetko mcvjetko at holisticware.net
Tue Feb 28 08:34:09 UTC 2012


Hi
On 2012.02.27 15:26, Stuart Lodge wrote:
> I'm with you on some of the refactoring pain thing.
>
> I'm work 95% of the time in VS2010 using your plugin to make R# do 
> something. I'm currently sharing as much code as I possibly across all 
> 3 platforms by trying to use mvvm with all viewmodels, models, etc in 
> a "shared project".
>
> I generally don't use #if/#endif if I can avoid it... I've got an IoC 
> framework setup for most platform specific things.
I stick what I hav learned with c/c++: ifdefs are bad! Strongly typing.
So I split classes into partial files... Changed-all/added bunch VS 
project items so I have partial kwd in
snippets and items...

>
> To resync the file and folder lists across the separate droid, ios and 
> wp7 projects I just cut and paste the folders in VS2010 - that works 
> quite well.
I do exclude\include from project sequence.

regards

mel

-- 
Miljenko Cvjetko dipl.ing. ET
	Direktor/CEO
	Projektant rješenja/Solution Architect	
	Razvojni programer/Senior developer
	Voditelj projekta/Project Manager

IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: mcvjetko at holisticware.net
w: http://www.holisticware.net



More information about the Monodroid mailing list