[MonoTouch] Adding Image with BuildAction Content prevents app from starting

Geoff Norton gnorton at novell.com
Sun Nov 8 16:42:43 EST 2009


I'm replying on-list as well for the sake of everyone and google- 
ability.

Aidan had his images in a Folder called "Resources"

Apple (for some reason) doesn't support this, and in fact silently  
fails with no error code when we install an application with this  
folder name.

-g

On 8-Nov-09, at 12:54 PM, Aidan Reel wrote:

> Hi
> [MT1.2:MD2.2RC]
>
> Created iphone monotouch project.
> Compiled
> Run
> Simulator kicks off and app appears on desktop.
> App starts.
> Quit app via home button.
> Add folder to project
> Add existing files to folder (some pngs).
> selected one png and set Build Action in Properties to Content.
> Clean build
> Compile
> Run
>
> Simulator:  app  is deleted but not replaced with new version.
> App does not start.
>
> select same png file and reset Build Action in Properties back to
> Content.
> clean build
> compile
> Run
> App starts up.
>
> MD shows Build successful in tag line and Application Output tab is
> brought forward.
>
> Any one else have this behaviour?
>
> Regards
>
> Aidan
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch



More information about the MonoTouch mailing list