Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
1. Make a new universal project (might be iphone, too)
2. edit the xib
3. add some stuff to it, including outlets and actions
4. save in xcode
5. switch back to monodevelop
6. get this error:
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
I suspect this is the same issue that Elena firstname.lastname@example.org is having on the list (Jeff!!)
HOWEVER: actions etc are all updated fine, and the error doesn't happen second time around.
I stand corrected. When I went back into xcode, all the actions are gone. Nothing in the generated obj-c code (tho they were in the generated class in c#) :(
I have this problem too: the error message, that cleaning project it run ok at least one time, and the lost of some actions (not all).
*** This bug has been marked as a duplicate of bug 4991 ***