Hi My project has a number of XML files while are setup with the 'Embedded Resource' build action property. I'm trying to access the files using Assembly.GetExecutingAssembly().GetManifestResourceStream(fileName) but Assembly.GetExecutingAssembly() is returning null. I've also tried setting the build action to 'Content' and access the files by opening them directly, but that doesn't work either as the files don't seem to be copied to the emulator.
The reason I'm using embedded resources rather than the built in Android resources is that I'm in the process of writing a cross platform app (Android, IPhone/Pad, Win 7), so I'm trying to make the core code (business rules, error messages) as generic as possible. I'm also using the MonoCross framework on top of Android. Any ideas how I can read the files? Thanks in advance for your help. Spencer -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Accessing-Embedded-Files-tp5712409.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid