[MonoTouch] Please advise wrt two apps with same source files

Guido Van Hoecke guivho at gmail.com
Mon Oct 24 03:06:43 EDT 2011


Hi Michael,

On Sun, Oct 23, 2011 at 23:14, Michael Muegel <mike.muegel at gmail.com> wrote:
> In situations like this for Windows development I have created an
> application library. You would have two MonoTouch app projects that
> reference this library, which in turn reference all your other support
> libraries. Each app project just has a few files to bootstrap things and
> invoke the common app library with a flag for the mode/etc.

That seems a very interesting approach!

Currently I have two separate projects within one solution, and both projects
have a 'Common' subdirectory with all common sources. I use a little perl script
to synchronize the sources. But I'll now move these common sources to a new
library project within this solution and go for your approach. Definitely
cleaner!

Thanx for the idea.


Guido

--
When does summertime come to Minnesota, you ask?
Well, last year, I think it was a Tuesday.


More information about the MonoTouch mailing list