Selasa, 15 Februari 2011

Referencing a picture in another DLL in Silverlight and Windows Phone 7

This one has burned me a few times, so here is how it works for future reference:Usually, when I add an Image control into a Silverlight application, and the picture it shows is local (as opposed to loaded from the web), I set the picture’s Build Action to Content, and the Copy to Output Directory to Copy if Newer. What the compiler does then is to copy the picture to the bin\Debug folder, and

Tidak ada komentar:

Posting Komentar