views:

33

answers:

1

I encountered this strange issue and was lost for several hours before i found something interesting about how the .xap is packaged.

among several things, i came to know that if my project was named "References", it would not be included in the xap,

and more strange was another problem that if my SL app is referenceing assbly1 project and assbly1 is referencing assbly2, then assbly2.dll will not be included in the xap for the SL app if there are no references to the types of assbly2 in the code behind of assbly1. code behind is different from xaml, so if you have a user control in you assbly2, and you have only referenced that item in xaml (not code behind)of assbly1, it will not be packaged in SL xap.

any insights...?

A: 

Regarding the References thing. 'References' is a reserved name (its a defaultfolder placed in the xap file).

This is interesting because it makes me want to try it myself and see what happens (no errors?).

AlvinfromDiaspar