Bug 1317 - Designer files doesn't change
Summary: Designer files doesn't change
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.8
Hardware: Macintosh Mac OS
: Low normal
Target Milestone: ---
Assignee: Alan McGovern
Depends on:
Reported: 2011-10-06 13:27 UTC by Marco
Modified: 2011-11-16 03:27 UTC (History)
3 users (show)

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:

Description Marco 2011-10-06 13:27:40 UTC
During the changes (add an Outlet for example) from Interface Builder  the xib.designer.cs file doesn't change, then I don't find my element in the xib.cs file.

If open the xib file, the new element was correctly saved, but doesn't appear in the designer class

Modevelop 2.8
XCode 3.2.5
Comment 1 Mikayla Hutchinson [MSFT] 2011-10-06 16:33:12 UTC
MonoDevelop 2.8 introduced a new xib designer model in order to support Xcode 4.

The Interface Builder integrated in Xcode 4 no longer supports defining classes, outlets and actions in xib files, therefore MonoDevelop can no longer generate *.designer.cs files from xib files.

In our new model, the *.designer.cs files are where the outlets and actions are defined. When you open the xib file, MD creates an xcode project with objective-c stubs to allow Xcode 4 Interface Builder to use the types. Any changes you make to these types in Xcode are then imported back into the designer files in MD. 

Unfortunately, this is not backwards-compatible with Interface Builder 3 codebehind. Our recommendation is that you switch to Xcode 4.

Please see http://docs.xamarin.com/ios/tutorials/transitioning_from_xcode_3_to_xcode_4
Comment 2 Mike Krüger 2011-11-15 14:44:00 UTC
@alan: I would've closed it - but you decide.