Very slow debugging/deploying process under VS2005

G

Guest

I just converted a VS2003 smart device project to VS2005. I successfully
updated my Windows CE 5.0 image to include the new Compact Framework 2.0.

I connect to my device using ConmanClient2 and CMAccept.

Everything works fine except for one thing. It now takes up to 1 minute for
a very simple program to actually start on the remote device in debug
configuration. I was first thinking it was because VS2005 was always
downloading and installing the new compact framework 2.0 (and service packs)
before running the program, so I unchecked that option under the Settings ->
Devices tab for my project. It still takes a very long time to load and it is
very annoying. Both my Desktop and the Remote Device CPUs are running at 0%
(for about 1-2 minutes) until the application shows up.

Any idea what might cause this delay?

Thanks
 
S

Simon Hart

I think VS 2005 is just alot more memory hungry than 2003 was. For example
the IDE is now much more intelligent in many ways. One way is IntelliSense
now works even when you start typing and matching, properties, methods,
events etc. This is just one point. The emulators are much more CPU hungry
now supporting VGA and orientation modes.

VS2005 has minimum RAM requirement of 256mb. What spec machine are you
running?

Regards
Simon.
 
G

Guest

My computer is a P4 1.8ghz with 768mb of RAM, so I don't think it is
related. Indeed VS 2005 is much resources hungry, but it is not that
noticable when I work on standard windows projects.

What is wierd is that both computers really are not working at all (0% CPU,
no disk swapping...) for 1 minute or 2 form the time I see "Deploy succeeded"
until the application actually shows up.
 
G

Guest

OK, problem solved.

It was quite simple. I had to go in VS2005 -> Options -> Device Tools ->
Devices, Windows CE 5.0 Device, Properties, Transport, TCP Connect Transport,
Configure and check "Use fixed port number" 5655.

Now I get a fast build -> deploy -> debug process.
 

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