Compartilhar via


Mobile CAB Notes

Module Deployment and Dependencies

When you create modules based on CAB, they're not automatically copied to
the device because the shell has no reference to the modules. Here is what you
have to do in order to get these assemblies deployed to the device in the
correct location.

  • Right click on the solution and select Properties from the
    context menu.
  • On the left side, select Configuration from the
    Configuration Properties tree node.
  • Check Deploy for each module that you need copied to the
    device.
  • For each project that you've selected to deploy, follow these steps:
    • Right click on the project and selecct Properties.
    • Click on the Devices link on the left side.
    • Click on the "..." button next to the Output file folder
      text box.
    • In the Subdirectory text box, enter the same directory as
      the main EXE assembly so the module will be copied to the same target
      location.