[MonoTouch] Please advise wrt two apps with same source files
Miljenko Cvjetko
mcvjetko at holisticware.net
Wed Oct 19 02:12:56 EDT 2011
Hi
inline
On 2011.10.18 22:38, Nic Wise wrote:
> 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!)
For that we user ProjectLinker. The problem is there is no
equivalent yet for MonoDevelop....
>
> 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.
Our team works 90% with VS and switch when needed to Monodevelop (on Mac).
So we use Project Linker. The only problem we are facing opening MT
projects with
VS and we are solving that with batch file containing sed for replacement of
MT ProjectType GUIDs etc...
For VS try ProjectLinker
http://msdn.microsoft.com/en-us/library/ff921108(v=pandp.20).aspx
<http://msdn.microsoft.com/en-us/library/ff921108%28v=pandp.20%29.aspx>
http://visualstudiogallery.msdn.microsoft.com/5e730577-d11c-4f2e-8e2b-cbb87f76c044
http://compositewpf.codeplex.com/
MonoDevelop picks up source file links from csproj files so You should
be able to use it.
Otherwise You have to add as link numerous files....
Regards
>>
>> TIA,
>>
>> Guido
>> _______________________________________________
>> MonoTouch mailing list
>> MonoTouch at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monotouch
>>
>
>
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111019/18ad01a9/attachment.html
More information about the MonoTouch
mailing list