[MonoTouch] Newbie: iPad application and incompatible target frameworks :(

Sebastien Pouliot sebastien at xamarin.com
Sun Mar 25 14:21:00 UTC 2012


Hello,

Your assemblies must be recompiled against the BCL that's shipped with
MonoTouch.

The MT profile (that we call 2.1) is a superset of the one provided by
Silverlight with some (but not all) of the new features of .NET 4.0.
Recompiling will ensure that your code is only using the features
(types, methods...) that are available in the MonoTouch.

Sebastien

On Sun, Mar 25, 2012 at 7:25 AM, Pure Krome
<pure.krome at world-domination.com.au> wrote:
> Hi folks,
>
> I've just started my first iPad MonoTouch application. My solution looks
> like this
>
> - iPad app
> - Core Library (.NET 4.0 class library)
> - Service Library (.NET 4.0 class library)
> - Unit Tests (.NET 4.0 class library with nUnit).
>
> When i went back into my iPad project and tried to add references to the
> Core or Services projects, I've been told by MT:-
>
> /*Incompatible Target Framework: vNETFramework, Version=4.0*/
>
> I've also tried changing this to a v3.5 and i got the same error.
>
> What version do my class libraries have to be?
>
> One of my class libraries is using the latest (newtonsoft) Json.NET dll.
> (.NET 4.0) .. so i guess this will mess  things up also?
>
> /me cries.
>
> -PK-
>
> --
> View this message in context: http://monotouch.2284126.n4.nabble.com/Newbie-iPad-application-and-incompatible-target-frameworks-tp4503021p4503021.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch


More information about the MonoTouch mailing list