Bug 10748 - Visual Studio / Project Properties window shows an empty list of views under "Main Interface"
Summary: Visual Studio / Project Properties window shows an empty list of views under ...
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.0.x
Hardware: PC Windows
: High major
Target Milestone: ---
Assignee: Jose Miguel Torres
URL:
Depends on:
Blocks:
 
Reported: 2013-02-27 21:39 UTC by Daniel
Modified: 2013-06-05 15:48 UTC (History)
5 users (show)

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


Attachments
Screen shots (267.18 KB, application/octet-stream)
2013-02-27 21:39 UTC, Daniel
Details
Screen Shots showing XIB in Sub-Folder (80.11 KB, image/png)
2013-02-28 09:00 UTC, Daniel
Details


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 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 FIXED

Description Daniel 2013-02-27 21:39:40 UTC
Created attachment 3505 [details]
Screen shots

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.


Version:
========

- Xamarin.iOS Version 1.0.897
- Visual Studio 2012 Ultimate
- Windows 8 Pro
Comment 1 Marek Habersack 2013-02-28 03:40:26 UTC
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.
Comment 2 Daniel 2013-02-28 08:58:42 UTC
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.
Comment 3 Daniel 2013-02-28 09:00:25 UTC
Created attachment 3509 [details]
Screen Shots showing XIB in Sub-Folder
Comment 4 Jose Miguel Torres 2013-06-05 15:48:08 UTC
Fixed in XamarinVS/master commit c0d4834297790bb9af9bccb287c19b2909e73570

NOTE: Added recursive search for Xib and Storyboards files within a iOS project.