Perhaps the BundleResource and Content options only work in MonoDevelop
3.1.0?

Jeff

On Fri, Dec 14, 2012 at 4:10 PM, Dennis Welu <dennisw...@motisconsulting.com
> wrote:

> For the record, the build action I had to set to EmbeddedResource, as
> BundleResource was not available... (it's available for png's in the main
> project but not the bindings project), and then load the resource via its
> ID
> like:
>
> MyImage =  UIImage.FromResource(typeof(SomeTypeInBindingAssembly).Assembly,
> "MyBindingNamespace.Images.filename.png");
>
> I tried also setting build action to Content to see if I could get the
> resources to show up as just content in the final bundle but did not get
> that to happen. But this will work for me.
>
>
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Load-image-from-native-library-resources-tp4657849p4657859.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> 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

Reply via email to