[MonoTouch] XIB file in sub-folder of Library Project

2012-07-18 Thread Phil Cockfield
I have 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
`//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.

Is there something special I need to configure so that it knows how to
build the XIB file?
Thanks

-- 
*Phil *Cockfield
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] XIB file in sub-folder of Library Project

2012-07-19 Thread Jeff Stedfast
Hi Phil,

This appears to be a bug in MonoDevelop's logic for calculating the .nib
paths to be embedded into the resulting dll.

Would you mind submitting a bug report about this to
http://bugzilla.xamarin.com? I'll be taking a look into fixing this issue
shortly.

Thanks!

Jeff

On Wed, Jul 18, 2012 at 3:10 AM, Phil Cockfield  wrote:

> I have 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
> `//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.
>
> Is there something special I need to configure so that it knows how to
> build the XIB file?
> Thanks
>
> --
> *Phil *Cockfield
>
>
>
>
> ___
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] XIB file in sub-folder of Library Project

2012-07-19 Thread Jeff Stedfast
Hi Phil,

Never mind about submitting a bug report (I've just fixed it, so it should
end up in the next release; 3.0.4 or 3.0.3.5 or whatever it ends up being).

Jeff

On Thu, Jul 19, 2012 at 4:46 PM, Jeff Stedfast  wrote:

> Hi Phil,
>
> This appears to be a bug in MonoDevelop's logic for calculating the .nib
> paths to be embedded into the resulting dll.
>
> Would you mind submitting a bug report about this to
> http://bugzilla.xamarin.com? I'll be taking a look into fixing this issue
> shortly.
>
> Thanks!
>
> Jeff
>
> On Wed, Jul 18, 2012 at 3:10 AM, Phil Cockfield wrote:
>
>> I have 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
>> `//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.
>>
>> Is there something special I need to configure so that it knows how to
>> build the XIB file?
>> Thanks
>>
>> --
>> *Phil *Cockfield
>>
>>
>>
>>
>> ___
>> MonoTouch mailing list
>> MonoTouch@lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monotouch
>>
>>
>
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] XIB file in sub-folder of Library Project

2012-07-30 Thread Phil Cockfield
Awesome - thanks Jeff.



On Fri, Jul 20, 2012 at 10:05 AM, Jeff Stedfast  wrote:

> Hi Phil,
>
> Never mind about submitting a bug report (I've just fixed it, so it should
> end up in the next release; 3.0.4 or 3.0.3.5 or whatever it ends up being).
>
> Jeff
>
>
> On Thu, Jul 19, 2012 at 4:46 PM, Jeff Stedfast  wrote:
>
>> Hi Phil,
>>
>> This appears to be a bug in MonoDevelop's logic for calculating the .nib
>> paths to be embedded into the resulting dll.
>>
>> Would you mind submitting a bug report about this to
>> http://bugzilla.xamarin.com? I'll be taking a look into fixing this
>> issue shortly.
>>
>> Thanks!
>>
>> Jeff
>>
>> On Wed, Jul 18, 2012 at 3:10 AM, Phil Cockfield wrote:
>>
>>> I have 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
>>> `//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.
>>>
>>> Is there something special I need to configure so that it knows how to
>>> build the XIB file?
>>> Thanks
>>>
>>> --
>>> *Phil *Cockfield
>>>
>>>
>>>
>>>
>>> ___
>>> MonoTouch mailing list
>>> MonoTouch@lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/monotouch
>>>
>>>
>>
>


-- 
*Phil *Cockfield
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch