Designer files are autogenerated - you cannot just change them and expect your changes to be kept. This applies to all designer files created by VS and MD, and the file header comment makes this clear. The designer files of the Xcode 4 integration in MD 2.8 are the only exception to this that I know of.
The namespace in the designer files is taken from your project's settings for default namespace. -- Michael On Wed, Aug 31, 2011 at 8:00 PM, Jeff Stedfast <[email protected]> wrote: > Adding Michael Hutchinson to the Cc, hopefully he has some ideas. > Jeff > > On Wed, Aug 31, 2011 at 1:41 PM, diviner <[email protected]> wrote: >> >> Hi all, >> >> Sometimes I want to organize modules in my monotouch project, so I need to >> change namespace when the xib is changed. >> >> Lets say I have a page named Page1.xib and it includes Page1.xib.cs & >> Page1.xib.designer.cs. I want to change it from project root into Module1 >> folder, so I change its namespace from MyApp to MyApp.Module1. Changing >> are >> applied to both Page1.xib.cs & Page1.xib.designer.cs. >> >> But the problem is, after I change these two files. I found that sometimes >> the namespace in Intro.xib.designer.cs is rollback automatically. >> >> How to solve this problem? >> >> Thank you very much. >> >> Diviner. >> >> -- >> View this message in context: >> http://monotouch.2284126.n4.nabble.com/Problem-on-changing-namespace-for-Foo-xib-designer-cs-tp3781751p3781751.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
