Hello, Same problem here.
MB Pro Mac OS X Lion 10.7.4 (11E53) 2.4 GHz Intel Core i5 4 GB 1067 MHz DDR3 Intel HD Graphics 288 MB Xcode Version 4.3.2 (4E2002) MonoDevelop 3.0.2 MonoTouch version and Mono Version = whatever installer would have picked on 6/12/2012 Just installed MonoTouch Trial today (6/12/2012). My Mac Book Pro did not have Mono, MonoDevelop, or MonoTouch on it before today when the MonoTouch installer installed all its pre-reqs. (I received some other error I don't recall right after the MonoTouch install when I tried to double-click the first xib file in MonoDevelop to launch IB. I restarted Mac and that let me double-click a xib to launch IB to continue with the exercise below). I am reading the book, "Mobile Development with C#" and doing first code exercise in Chapter 2 on pages 12-15. As soon as I finish creating the "Action" on the MainViewController and try to go back to MonoDevelop I get the error: "Error updating Objective-C type information. Both arguments to IsDerivedFrom() must be from the same compilation." System.InvalidOperationException: Both arguments to IsDerivedFrom() must be from the same compilation. at ICSharpCode.NRefactory.TypeSystem.ExtensionMethods.IsDerivedFrom (ITypeDefinition type, ITypeDefinition baseType) [0x00029] in /Users/builder/data/lanes/monodevelop mac3.0.2/046db1bb/source/monodevelop/main/contrib/ ICSharpCode.NRefactory/TypeSystem/ExtensionMethods.cs:92 ... When I just exit MonoDevelop and come back to the solution and build it seems to build with just 2 warnings. Then I go to next step of example to create a Label outlet for SecondViewController and when I go back to MonoDevelop from IB I get the same error again. This is my first time trying MonoTouch over Xcode native so not sure if I can ignore these and it will be fine or not. Ref - Book source code I was trying to recreate: https://github.com/gshackles/MobileDevelopmentInCSharpBook/ Thanks, Kerry _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
