Naximus
Naximus

Reputation: 599

What is the order in which files in the XAP archive are loaded into memory?

Are images (type content) loaded into memory when the wp7 app starts i.e. the main dll is loaded into memory or when first referenced from code. Are the loaded images cached automatically?

Also is there a way in visual studio to see the order in which files in the XAP are loaded into memory?

Upvotes: 1

Views: 66

Answers (1)

Mick N
Mick N

Reputation: 14882

Images with build action set to Resource are loaded up along with the main XAP at startup. Images with build action set to Content are loaded up when they are referenced.

Upvotes: 2

Related Questions