Skip to main content

Microsoft Silverlight

Answered Question Problem testing splash screenRSS Feed

(0)

pkr2000
pkr2000

Participant

Participant

1219 points

377 Posts

Problem testing splash screen

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 Luo - MSFT
Yi-Lun L...

All-Star

All-Star

25052 points

2,747 Posts

Re: Problem testing splash screen

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.

shanaolanxing - I'll transfer to the Windows Azure team, and will have limited time to participate in the Silverlight forum. Apologize if I don't answer your questions in time.

pkr2000
pkr2000

Participant

Participant

1219 points

377 Posts

Answered Question

Re: Problem testing splash screen

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.

 

pkr2000
pkr2000

Participant

Participant

1219 points

377 Posts

Re: Problem testing splash screen

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!

 

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities