Skip to main content
Home Forums Silverlight Programming Programming with .NET - General Problem testing splash screen
3 replies. Latest Post by pkr2000 on May 9, 2008.
(0)
pkr2000
Participant
1219 points
377 Posts
05-07-2008 5:11 PM |
I've just gone through the splash screen tutorial and applied it to my application. I've added 40Mb+ of resources to my project to bloat it out but no it sill just loads ASAP and I don't see me splash screen. I'm pretty sure it's trying to load it because if I introduce invalid XAML into the splash screen the project doesn't load. I've tried deleting all the files from IE, where am I going wrong?
Yi-Lun L...
All-Star
25052 points
2,747 Posts
05-09-2008 1:39 AM |
Hello, can you post some code? Just some guess. Have you embed all resource files into the xap file? What is the size of the xap file? You need to set the resource files' build action to "Content". Where is you xap file? You can't put it in the ClientBin folder if you want to use a splash screen. The xap file must be put under the same folder as the hosting html file.
05-09-2008 3:15 AM |
I've followed the splash screen tutorial from this site, and it says to set them to "embedded resource". The xap file is massive, however I didn't realise you had to copy that xap from silverlight project over to the web...hadn't dawned on me so that although I followed the instructions to copy it to the root of the web once, I probably need to do that manual step each time...that might be it.
05-09-2008 6:35 PM |
Yes that was it, every time you build the main silverlight project you have to manually move it into the root. I'm sure that can be automated or linked to, but at least I can start gluing some of my hair back on!