We *have* to separate compile from deploy! Ctrl+Shift+B will do the compile
only. You can use the Deploy item on the menu to do just that. Are you
running in the debugger or just telling the application to launch with no
debugging? Are both your application and the .NET CF itself being deployed
to the emulator? I don't use emulators much, but it seems like you should
be able to leave the emulator in a state where everything is still installed
from the last time.
3-5 seconds seems perfectly fine to me for compile. 8-10 seconds is also
reasonable for a deploy. The startup of for .NET CF applications is known
to be noticably long. .NET CF 2.0 should be faster than .NET CF 1.0. What
you see on the emulator is likely to be consistent with what you'll see on a
real device, although the real device may not take absolutely as long to
launch the program.
Paul T.
OK, OK! I misunderstood what you were after. Geeee.
The initial compile & deploy requires 55 seconds. On subsequent compile &
deploys it takes between 15 & 20 seconds for the program to start.
Now that I've done the timing, I see that a compile alone takes 3-5
seconds. A deploy alone takes 8-10 seconds. The rest of the time must be
the app coming up on the emulator.
Hope that's the info you want.
That's like saying "the whole program is too slow". It's interesting,
but totally useless, information. If you just compile, how long does
that take? Deploy, as a separate operation, takes how long? I'm not a
mind-reader and, as far as I know, neither is anyone else here. Are you
going to help us help you or not?!
Paul T.
The whole compile & deploy cycle. This is true even on repeating a cycle,
so everything is already in memory. Sure, repeats are a little faster,
but not by much.
I'm talking about a very simple program, nothing fancy. But it is reading
an xml file off a server and parsing it. Maybe that's it. I'll take out
that code and see what happens.
Paul G. Tobey [eMVP] wrote:
I'm using a machine significantly slower than that. What, specifically,
is causing most of the problem (this is just like optimizing your own
code: you start with the place where most of the time is being actually
spent, optimize that, then move on)?
Paul T.
I'm presently developing an application for a Pocket PC using the
VS2005 Pocket PC 2003 emulator. My development machine is a Dell
Pentium 4 running at 2.9Ghz with 1GB memory. Yet the development cycle
(compiling, deploying, etc) is painfully slow (even with all other
applications closed).
What would you recommend for a proper development machine?
Thanks