Additional files deployed during debug.

M

Mike C

I am having a problem debugging CF applications on PocketPC/Windows
Mobile devices. For development I am using VS2005 and have replicated
the problem on a Dell Axim running WM5.0, an Intermec 751 running
PocketPC 2003 and the VS emulator (I beleive running WM5.0).

The problem is this:
Even though I only have references to a few libraries (System,
System.Data, System.Windows.Forms and System.Data.SqlServerCE), when I
start debugging, it seems the entire framework is deployed to the
application directory. Even though the application is VB.Net 2.0,
libraries such as Microsoft.JScript.dll are also sent over.
The problem with all of this is that sending all of these files
usually eats up to much memory and I am unable to actually run the
application.

Is there some setting I am supposed to make that prevents these
unnecessary dlls from being sent over?

Thank you in advance,

Mike
 
N

Neil Cowburn

If you are deploying Microsoft.JScript.dll, then you would seem to have a
reference to an assembly from the .NET Framework in your app. Make sure that
mscorlib, System, System.Data, System.Windows.Forms etc are the .NET Compact
Framework versions and not the .NET Framework versions.

A simple way to check this is by expanding References and selecting each
referenced assembly in turn. Check that the Runtime Version (displayed in
the property grid) is 2.0.0.0 and not v2.0.50727. If any have a Runtime
Version of v2.0.50727, then you need to change them for their .NET CF
equivalent.

--Neil

--
Neil Cowburn
Principal Partner
OpenNETCF Consulting, LLC.

Managed Code in the Embedded World

http://www.opennetcf.com/
http://www.smartdeviceframework.com/
 

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