[MonoDevelop] iPhone/Android app - how to add a project reference to a library (incompatible target framework)
mcvjetko at holisticware.net
Tue Nov 15 07:52:53 EST 2011
On 2011.11.15 13:34, Rob Wilson wrote:
> Hi all,
> I am attempting to write my first iPhone application and plan to
> ensure that the core code is reusable between the iPhone and Android
> I've created a 'Domain' library project, additionally a 'Core' library
> project, both have the 'Target framework' set to 'Mono / .NET 4.0'
> with a compile target set to 'Library'.
> I then created the iPhone / iPad project and tried to link the
> projects together (from within the iPhone project, right-click on
> 'references' then click on the 'edit references' menu option), but
> within the Projects tab both of my library projects say 'Incompatible
> target framework: v.NETframework, Version=v4.0).
> I am using MonoDevelop version 2.8.2.
> Google searches tend to indicate that I may need to manually link each
> file?! If that's the case fine, but that does seem very primitive
> considering that this is surely a common aim? Am I missing something
> obvious, or is this how it has to be done?
I do not know if MonoDevelop has (yet) such feature: "batch linking",
but push it to shared folder
or svn and pull it out on Windows site into Visual Studio.
Visual Studio has bunch of extensions on gallery (productivity tools
that enable right click copy and
paste as link...
or edit project file:
VS has great tool - project linker that does that but on project level
as You add files to source (base
project with smallest subset of features) they are automagically linked
to (source)-'linked' projects.
Unless You do some tweaking to exclude linking....
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
Miljenko Cvjetko dipl.ing. ET
Projektant rjes(enja/Solution Architect
Razvojni programer/Senior developer
Voditelj projekta/Project Manager
IX juz(na obala 13
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: mcvjetko at holisticware.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Monodevelop-list