x


Making Unity iPhone use the monoiphone2.framework

Is there some trick to using the newer .net framework? I have tried setting my project settings -> player -> API Compatibility setting to ".NET 2.1", but no matter what I do it is still using the earlier .NET API.

I can tell it is not using 2.1 because I am trying to use the ReadToDescendant() method of an XmlReader, which is in 2.1 but not the earlier version.

If I create a solution in monodevelop, using my sources from my Unity project, and set the References to point to Unity's monoiphone2.framework DLLs, it builds fine, but if I point the references to the Unity monoiphone.framework DLLs I get the same compiler error as Unity gives me (XmlReader has no definition for ReadToDescendant). This tells me that my Unity project is using the earlier .NET DLLs no matter what I do!

So what am I missing here?

more ▼

asked Mar 28 '10 at 03:13 AM

Loophole gravatar image

Loophole
1 1 1 3

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2013
x263
x24

asked: Mar 28 '10 at 03:13 AM

Seen: 914 times

Last Updated: Mar 28 '10 at 03:13 AM