SDF cab file deployment

Last post 05-15-2008 12:26 by zimtech. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-15-2008 10:57

    SDF cab file deployment

     I'm building a headless device on CE 6.0R2 - only the "headless" version of the Compact Framework is included in the O/S image. I have a simple c# application that uses part of the toolhelp section of the SDF and have a reference directly to the dll but when deploying the application, VS2005 always insists on deploying the entire SDF cab file, rather than only the specific dll, which this results in a deployment error:

    "Deploying 'C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\OpenNETCF\OpenNETCF.SDF.2.2.cab'
    The system cannot find the file specified. "

    Since the above mentioned file is present on the development machine and everything deploys correctly on a UI capable version of the device, I assume that the error is referring to something on the device. Is there a way to prevent VS2005 from trying to deploy the entire cab file and only copy the required dll to the device?

     Thanks
     

    Filed under:
  • 05-15-2008 12:26 In reply to

    Re: SDF cab file deployment

     Update:

    I think the problem is that it is trying to use wceload to install the cab file but it does not exist. Being a headless device it has wceldcmd.exe instead and the deploy is fine if I manually install the cab file once it has been transferred to the device.

     

Page 1 of 1 (2 items)