Tuesday, August 24, 2010

Haven't posted in a long time! Been quite busy both in and out of work, but I'm going to get back into WP7 again :)

So I spent about an hour just...trying to get Windows Phone 7 to load an image for me...the default AddIcon.png image is available for use, but anything I added wasn't, and it was getting kind of frustrating.

Turns out that what you need to do is set the "Build Action" for the image you want to use in your project to "Content". I'm not quite sure what's so special about the one that comes with the project that allows it to be used regardless (I think the fact that it's not expecting a URI but a source object, and it uses "/{$project};component/Images/ArrowImg.png" has something to do with it), but when I find out I'll let you know...

At least I accomplished something today!