For developers preserving legacy apps:
The existence of XAP archives is technically a violation of copyright. These are proprietary binaries owned by developers (or the defunct companies that employed them). windows phone xap archive