Groups | Blog | Home
all groups > dotnet compact framework > july 2005 >

dotnet compact framework : Can I debugg Application on device w/o copying referrences ?


Dan
7/28/2005 7:45:13 AM
We debug a VB.Net App that uses compact framework to a DAP Windows CE.Net
device.

When I debug I would like to only have the EXE copied down. Right now it
copies any referrences as well and checks the .NET CF version.

The first message I receive is:
Files in the package 'netcf.all.wce4.armv4.cab' are more recent on the
device than on the development computer. Consider upgrading to the latest
version. Files affected are:

This is not true as the .cab file on my dev box is version 1.0 SP3 and it is
the same version installed on the device.

Then it copys over all the Dll's of the referrences that we have. We use a
few 3rd party dlls

example:
Copying files from 'C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\' to '\Program Files\TI_VRT_CE'
Copying Xceed.Compression.Formats.dll
Copying Xceed.Zip.dll
Copying nsoftware.IPWorksZipCF.dll

I would like to stop these from copying. For content files you can chage the
Build Type to None and it wont copy. But referrences do not have that. There
is a property called "Copy Local" but it seems to do nothing when deploying.

Anyone have any ideas ?
Dan
7/28/2005 11:22:03 AM
[quoted text, click to view]

I realize its harmless, I would just to stop it from checking.

[quoted text, click to view]

It takes abotut 30 seconds to start a debug session on the device accross
the network.
Thats the reason I would like to stop it from copying those files every
time. I dont need the Dll's to go down on each Debug session. They stay on
the device and its unneccesary to copy them down all the time.

Thanks for the comments.

Dan

Daniel Moth
7/28/2005 6:10:50 PM
[quoted text, click to view]
Ignore the message it is harmless. VS picks the RTM cab (your SP3
installation has nothing to do with that)

[quoted text, click to view]
Why? Your application will not work then (since your code that uses them
will not find anything to call) and you'll likely get a TypeLoadException.

[quoted text, click to view]
This is irrelevant to deployment as you found out. It control whether the
assembly you are referencing is copied to your bin folder or not.

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


[quoted text, click to view]
AddThis Social Bookmark Button