Search code examples
iosxamarinmonoxamarin-studio

Compile iOS app against older Mono framework version in Xamarin Studio


I'd like to debug my iOS app using an older version of the Mono framework so that I can see how things behaved with an older version of the Mono.Data.Sqlite assembly.

How can I tell Xamarin Studio to use an older version?


Solution

  • You can assign MD_MTOUCH_SDK_ROOT to point to an alternative install location. This should be the root directory that contains bin/mtouch.

    • You can set/export this as an env. variable to points to your alternative Xamarin.iOS framework and then launch Xamarin Studio (or VS4M) from the same shell.

    • Or you could assign it within your .csproj file.

    Ref: Xamarin.MonoTouch.CSharp.targets