I have been seeing this as well since the last update late last week.
This latest version is buggy with the interface builder.  If you have
a specific workflow I that reproduces the problem I suggest filing a
bug at https://bugzilla.xamarin.com/

-bill

On Tue, May 29, 2012 at 2:05 PM, Nicolas Blanco <[email protected]> wrote:
> I'm a newbie trying MonoDevelop.
>
> I've just created a new iPhone tabbed application.
> I edit the firstcontroller xib in Interface Builder and create a new outlet
> for the mainlabel in the editor as described in the Hello World tutorial.
>
> When I save the file and return to MonoDevelop, I get an 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-mac-3.0.2/046db1bb/source/monodevelop/main/contrib/ICSharpCode.NRefactory/TypeSystem/ExtensionMethods.cs:92
>  at
> MonoDevelop.MacDev.ObjCIntegration.NSObjectInfoService+<GetRegisteredObjects>c__Iterator2.MoveNext
> () [0x000d8] in
> /Users/builder/data/lanes/monodevelop-mac-3.0.2/046db1bb/source/monodevelop/main/src/addins/MonoDevelop.MacDev/ObjCIntegration/NSObjectInfoService.cs:152
>  at MonoDevelop.MacDev.ObjCIntegration.NSObjectProjectInfo.Update ()
> [0x0022a] in
> /Users/builder/data/lanes/monodevelop-mac-3.0.2/046db1bb/source/monodevelop/main/src/addins/MonoDevelop.MacDev/ObjCIntegration/NSObjectProjectInfo.cs:102
>  at MonoDevelop.MacDev.ObjCIntegration.NSObjectProjectInfo.Update (Boolean
> force) [0x0000c] in
> /Users/builder/data/lanes/monodevelop-mac-3.0.2/046db1bb/source/monodevelop/main/src/addins/MonoDevelop.MacDev/ObjCIntegration/NSObjectProjectInfo.cs:73
>  at MonoDevelop.MacDev.XcodeSyncing.XcodeProjectTracker.UpdateTypes
> (IProgressMonitor monitor) [0x00031] in
> /Users/builder/data/lanes/monodevelop-mac-3.0.2/046db1bb/source/monodevelop/main/src/addins/MonoDevelop.MacDev/XcodeSyncing/XcodeProjectTracker.cs:392
> "
>
> Thanks for your advices...
>
> Nicolas.
>
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/Newbie-question-MonoDevelop-error-when-creating-outlet-tp4655092.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to