Bug 6321 - XIB file in sub-folder of Library Project
Summary: XIB file in sub-folder of Library Project
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 4.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-07-30 03:55 UTC by Phil Cockfield
Modified: 2012-07-30 03:58 UTC (History)
1 user (show)

Tags:
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:
Status:
RESOLVED FIXED

Description Phil Cockfield 2012-07-30 03:55:29 UTC
With a MonoTouch Library Project referenced by my main MonoTouch iPhone app project.

In that project I am creating an "iPhone View Controller" from the template which create the UIViewController along with the XIB file.

I am creating this in a sub-folder of the library project (eg. /my_lib/foo )

This throws a build error, saying

Error CS1566: Error reading resource file `/<PATH>/my_lib/obj/Debug/nibs/foo/bar.nib' (CS1566)

This doesn't appear to be a limitation of library projects, because when I create a UIController/XIB template in the root folder it builds just find.