Cannot deploy to Pocket PC emulator with VS 2005 Beta 1

R

rick cameron

Hi, all

I've just installed VS 2005 Beta 1 on a Windows XP Pro machine. I chose to
install only C# and VB, as well as Smart Device options.

When I create a default Pocket PC App for C# or VB, I can deploy and debug
it on 'My Computer', but it does not deploy to any of the emulator choices.

This doesn't appear to be mentioned in the readme. Any idea what might be
going wrong?

Thanks

- rick
 
C

Carl Brochu

Do the emulators appear once you start deploying? Do you have a
particular network configuration on this XP machine? The emulator in
VS2005 Beta1 uses tcpip to communicate with VS. It sounds like the
emulators are unable to get a valid ip and that would cause the
connectivity tofail.

You can try using the loopback adapter using the installation
instructions from:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;236869

After installing the loopback adapter, make sure the emulator uses
this adapter by going into
Tools/Options/Device Tools/Devices/Pocket PC 2003 SE
Emulator/Properties/Emulator Options/Network

and select the Loopback adapter. Finally, try deploying.

Carl
Visual Studio for Devices
 
C

Carl Brochu

Do you have a particular network configuration on this XP machine?
When you say that it fails to deploy, do the emulators appear? If so,
can you verify that the emulators are getting valid ip addresses in
Settings/Connections/Network Cards/NE2000 for the pocket pc 2003 SE
emulator
Settings/Connections/Network Cards/DX21X4 for the pocket pc 2003 SE
emulator (legacy)

You can also try using the loopback adapter using the installation
steps from :
http://support.microsoft.com/default.aspx?scid=kb;EN-US;236869

After installing the loopback adapter, make sure that the pocket pc
2003 se emulator is using it by going into:
tools/options/device tools/devices/pocket pc 2003 se
emulator/properties/emulator options/network
and have the first drop down box say "Microsoft loopback adapter"
and apply this change.

If you have saved the state of this emulator, you will have to reset
the emulator from the emulator menu. This will remove the saved
state.

Close every instance of the emulator and try to deploy again.

Carl
Visual Studio for Devices
 
A

Amit Chopra [MSFT]

My blog was mostly focused on helping with ensuring that the emulators
and drivers are correctly setup.


Also my recommendation is that if you have not already done so, please
use http://labs.msdn.microsoft.com/productfeedback/ to log this as an
issue so that the right feature owner could help in quickly.


Are you seeing any error messages or deployment just failing ? How
much memory does your machine have ?

Thanks
Amit Chopra
 
A

Amit Chopra [MSFT]

My blog was mostly focused on helping with ensuring that the emulators
and drivers are correctly setup.


Also my recommendation is that if you have not already done so, please
use http://labs.msdn.microsoft.com/productfeedback/ to log this as an
issue so that the right feature owner could help in quickly.


Are you seeing any error messages or deployment just failing ? How
much memory does your machine have ?

Thanks
Amit Chopra
 
R

rick cameron

Hi, Carl

You put your finger on it: my PC connects to a router, and I had disabled
DHCP on the router. When I enabled it, the emulator was able to get an IP
address, and deployment worked perfectly.

Thanks!

- rick
 
R

rick cameron

Hi, Amit

As you may have seen in my other message, the problem was that my router had
DHCP disabled, so that the emulator wasn't able to get an IP address.

Perhaps this could go into the Deployment or Smart Devices section of the
readme.

Cheers

- rick
 

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