Pergunta

I have several images and one application icon in my MonoMac application, all with build action set to "content", but when I build the installer (.pkg) file and install it on another machine, none of the images are available! Is this because I'm using the free version of MonoDevelop instead of Xamarin Studio? Any help would be greatly appreciated!

EDIT 1: On the test machine, I went into "Show Package Contents/Resources" and manually changed the permissions on the images from "Everyone - No Access" to "Everyone - Read/Write", and now the images are available in the application! The obvious problem is: how do I build the package so the images are installed with these rights? Thoughts?

Foi útil?

Solução

I was finally able to get my images to show up by moving them into the resources folder and changing some path information. I still can't get my application icon to work correctly, but I'll post that question separately. Thanks.

Outras dicas

Try setting the build action to BundleResource

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top