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 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.
Created attachment 3505 [details]
There is no way to select the "Main Interface" in the "Projects Property" because the list if empty.
Steps to reproduce:
- Create a iOS Project (any project with a View/Controller)
- Right click on the Project Name
- Click on Properties
- Click on iOS Application
- Under "iPhone / iPos Deployment info" / "Main Interface" there is a Combo Box that should list the views.
- Xamarin.iOS Version 1.0.897
- Visual Studio 2012 Ultimate
- Windows 8 Pro
From what I see in your screenshots, the project doesn't have any .xib file which defines interface. The drop-down is filled only when such files exist. The setting lets the Apple toolkit decide which of the many .xib file should be treated as the main one.
Look at that!... I just realized that Visual Studio and Xamarin Studio have different Templates... one builds the UI by code, the other with XIB.
I opened a project created with Xamarin Templates in Visual Studio and the XIB appears correctly in that drop-down list... BUT... if the XIB or Storyboard files are in a sub-folder, that list is empty.
Created attachment 3509 [details]
Screen Shots showing XIB in Sub-Folder
Fixed in XamarinVS/master commit c0d4834297790bb9af9bccb287c19b2909e73570
NOTE: Added recursive search for Xib and Storyboards files within a iOS project.