Bug 1409 - Can no longer edit XIB files
Summary: Can no longer edit XIB files
Status: RESOLVED DUPLICATE of bug 1401
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 2.8
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2011-10-11 03:30 UTC by Dermot
Modified: 2011-10-11 07:15 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
RESOLVED DUPLICATE of bug 1401

Description Dermot 2011-10-11 03:30:26 UTC
I made a change to an xib file, saved and closed it. Now I receive the below error each time I try to open ANY xib file in the project:

I can no longer edit xib files. I receive the following error when attempting to open any xib:
Error updating Objective-C type information. An element with the same key already exists in the dictionary.

Details:

System.ArgumentException: An element with the same key already exists in the dictionary.
  at System.Collections.Generic.Dictionary`2[System.String,MonoDevelop.MacDev.ObjCIntegration.NSObjectTypeInfo].Add (System.String key, MonoDevelop.MacDev.ObjCIntegration.NSObjectTypeInfo value) [0x00171] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:437 
  at MonoDevelop.MacDev.ObjCIntegration.NSObjectProjectInfo.Update () [0x00099] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.MacDev/ObjCIntegration/NSObjectProjectInfo.cs:84 
  at MonoDevelop.MacDev.ObjCIntegration.NSObjectProjectInfo.Update (Boolean force) [0x0000c] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.MacDev/ObjCIntegration/NSObjectProjectInfo.cs:66 
  at MonoDevelop.MacDev.XcodeSyncing.XcodeProjectTracker.UpdateTypes (IProgressMonitor monitor, Boolean force) [0x00034] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.MacDev/XcodeSyncing/XcodeProjectTracker.cs:307
Comment 1 Mikayla Hutchinson [MSFT] 2011-10-11 07:15:03 UTC

*** This bug has been marked as a duplicate of bug 1401 ***