Deploy OpenNETCF DLLs without message

S

Sean Carpenter

I'd like to deploy just the OpenNETCF DLLs that I'm using to a device, not
the whole SDF. I've referenced the DLLs in my project and added them to the
CAB files. Everything gets deployed successfully. The problem is that
after installtion, I get a message on the device stating that "[App Name
here] requires the installation of OpenNETCF.SDF.ppc3.ARM.CAB for it to run
properly. Install the Cab file before running this application."

The app runs fine since the DLLs are properly copied to the application
directory, but how can I prevent this message from being displayed? I'm
using the SDF 1.3.

Thanks,
Sean Carpenter
 
P

Peter Foot [MVP]

Within the CAB file you built Visual Studio creates a file listing the
dependencies. You can safely remove the OpenNETCF items from this in your
scenario and then rebuild the cab files with the BuildCab batch file. The
files in question are in your project folder under
/obj/[configuration]/vsd_config.txt.[processor] You'll need to edit each
processor version in notepad. Each row represents a referenced assembly and
will indicate a cab file in which it resides - remove all rows mentioning
the opennetcf assemblies.

Peter
 
S

Sean Carpenter

Peter -
Thanks for the quick answer. I almost tried that myself, but was too
chicken. Thanks again for the help.

Sean Carpenter

Peter Foot said:
Within the CAB file you built Visual Studio creates a file listing the
dependencies. You can safely remove the OpenNETCF items from this in your
scenario and then rebuild the cab files with the BuildCab batch file. The
files in question are in your project folder under
/obj/[configuration]/vsd_config.txt.[processor] You'll need to edit each
processor version in notepad. Each row represents a referenced assembly
and will indicate a cab file in which it resides - remove all rows
mentioning the opennetcf assemblies.

Peter

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net |
http://www.opennetcf.org

Sean Carpenter said:
I'd like to deploy just the OpenNETCF DLLs that I'm using to a device,
not the whole SDF. I've referenced the DLLs in my project and added them
to the CAB files. Everything gets deployed successfully. The problem is
that after installtion, I get a message on the device stating that "[App
Name here] requires the installation of OpenNETCF.SDF.ppc3.ARM.CAB for it
to run properly. Install the Cab file before running this application."

The app runs fine since the DLLs are properly copied to the application
directory, but how can I prevent this message from being displayed? I'm
using the SDF 1.3.

Thanks,
Sean Carpenter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top