Hi, I want to know whether is it possible to load and run another xap file in a xap file.
If its possible please tell me how to do that with code. Thanks in advance!
Hi, I want to know whether is it possible to load and run another xap file in a xap file.
If its possible please tell me how to do that with code. Thanks in advance!
You'd typically load an assembly contained within that .xap into the appdomain of your executing application (remember that .xap files are nothing more than .zip files renamed.)
You can request the assembly from your running code by using the WebClient.
Here's a straightforward way of doing this:
You can also use Microsoft Prism (now Composite Application Guidance) to create modules that are loaded on demand: