[Mono-bugs] [Bug 707279] NSBundle.MainBundle.PathForResource("mydata", "xml") stopped returning a path in beta and fails to return the path (null)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jul 22 01:49:42 EDT 2011



Jesse McGatha <develop at electricscribble.com> changed:

           What    |Removed                     |Added
             Status|NEEDINFO                    |NEW
       InfoProvider|develop at electricscribble.co |
                   |m                           |

--- Comment #2 from Jesse McGatha <develop at electricscribble.com> 2011-07-22 05:49:41 UTC ---
I've had time to do more investigation on this and it looks like this is not a
monotouch class issue but rather a monodevelop issue. I also upgraded to 2.6.b3
to work with the new version of MonoTouch.

It looks like my xml files, which were in the root of my project, were not
copied into the built bundle, despite the fact that they were marked as Content
and Copy if Newer. Moving the files into the Content directory (and updating
the paths in the code appropriately) allowed the content to build.

For your questions:

a) I misspoke, I meant MonoTouch 2.10.2 (I believe I was on 2.8 before).
b) The bug was in an iOS application.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list