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.
From Rodney (Desk Case #22200)
I manually created my own TabBarController by extending UITabBarController
to use as my RootViewController. I had no XIB files in my project and was
planning to avoid them all together, by using MonoTouch.Dialog and a
programmatically created TabBar. However somewhere along the lines I
noticed that a XIB appeared called TabBarController, and a
TabBarController.designer.cs also appeared.
Here's the possible steps to reproduce the bug.
1. Well I created a new Project -> C# -> MonoTouch -> Universal ->
Single View Application
2. Then I deled the generated xib files and related CS files leaving
only the AppDelegate.cs, Main.cs, and Info.plist in place.
3. I then created a TabBarController.cs file with a TabBarController
class that extends the UITabBarController class.
4. I then followed the documentation here:
5. Everything was working fine, no XIB files appeared yet
6. I then went into the Project Options and changed the following:
7. Added an app name, identifier, version, set the deployment target to
5.0 (it was defaulted to 3.0 for some reason)
8. I also changed the status bar styles to black translucent, with a
tinting color of red. Visibility checkbox is not checked.
9. It was shortly after making these changes that I noticed that I now
have TabBarController.xib and a TabBarController.designer.cs file.
All this occurred within an our of creating the project and having almost
nothing but the basic 3 tabs from your documentation in the link in step 4.
Prashant: We received this bug on Desk, but I'm unable to reproduce it with given steps.
He probably did "Add New File" and selected the "iPhone ViewController" template instead of selecting the generic C# class template.
The ViewController template creates the xibs and .designer.cs files while the generic C# class template does not.
That's the only way this could happen. MonoDevelop won't randomly create xib files (it can't, they *must* be added via a template)