[MonoTouch] Please advise wrt two apps with same source files
Nic Wise
nicw at fastchicken.co.nz
Tue Oct 18 16:38:01 EDT 2011
So far, I've run 2 seperate sets of csproj and sln files, but I'm sure
there is a better way (same set of cs files etc tho!)
On Tue, Oct 18, 2011 at 21:05, Guido Van Hoecke <guivho at gmail.com> wrote:
> I am working at an app that will be available in two versions, one is
> with advertisements, the other is without advertisements. The first one
> is to be called MyApp, the second one MyAppPro.
>
> The only difference between the two is the fact that their appname is
> different and that the compiler symbols are different for the two
> targets. That's how I enable or disable advertisements.
>
> If I understand it correctly, the 'Build.iPhone Application' panel is not
> configuration dependent, so I can't use extra configurations to define MyAppPro.
>
> The 'Build.Output' panel allows for different output paths, so there
> extra configurations would help. But alas, no way to define two
> different target apps (I used to do this in xcode).
>
> But I may well be overlooking built-in MonoDevelop capabilities.
>
> I could create a MyAppPro directory whith its own csproj file but for
> the rest just symlinks to all files and subdirs of the MyApp dir. That
> would work but it is a clumsy solution and requires manual
> synchronisation for project file ceration and deletion activities. I
> would like to avoid this.
>
> Please advise about the best way to achieve this.
>
> TIA,
>
> Guido
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
--
Nic Wise
t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
More information about the MonoTouch
mailing list