Solved

Developing on Windows CE (Compact Framework)

Posted on 2013-06-04
1
403 Views
Last Modified: 2013-09-20
Hi all,

I’m developing an application for windows ce 5 using vb.net - vs2005. The problem I’m having is its too damn slow to debug. 90% of my time is spent deploying my application to a ce device.

So my question is, is there an easier way of developing windows ce applications (compact framework). I.e. is there a way of running the application on my machine to get most of the foundation work done, then deploy to a ce device ?

Is there a standard practice anyone has experience with ?

Thanks in advance,
K.
0
Comment
Question by:Kinger247
1 Comment
 
LVL 16

Accepted Solution

by:
hjgode earned 500 total points
ID: 39221034
Hello

one option to speed up debug sessions is to use a TCP/IP WLAN or ENET connection instead of ActiveSync/WMDC provided connection: http://www.turboirc.com/ppc/s5.htm. This will speed up deployment and debugging from VS to device.

As an alternative you may use a board support package supplied by the device manufactorer. Possibly they supply an emulator image you can install and run on your PC and use that for deploy and debug. Here is the MS download for Windows CE 5 emulator: http://www.microsoft.com/en-us/download/details.aspx?id=18481. One of many articles about using the emulator: http://kavachai.com/2009/11/04/how-to-connect-windows-ce-5-0-emulator-to-visual-studio-2005/.

What most people are not aware of is that the Compact Framework is a subset of the full framework. If you do not use any Windows CE only functions/API, you can simply run your VB NET (or C#) managd application directly on your PC. Just look for the exe in the project build directory and start the exe on your PC (file explorer double click or add a build event in your project).

The deploy and debug performance is related to the Windows CE device side support and the connection (ActiveSync/WMDC). Possibly there is a firewall or virus scanner slowing down the transfer.

~josef
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now