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?
asked Mar 28 '10 at 03:13 AM