How to setup debug in vs2005 in device emulator 3

1, set web application

       Set any port, it’s better to use a fix port.

       Because the “ASP.NET Developer Server” does not support access from other ip other than the host computer, we need a program to forward the ip request from outside

2, TCPTrace.exe

This program will accept any network request from port 80 to port 5000

Then you can start up the web project, and try to access from other computer like this:

3, set up “Device Emulator 3.0”

(from msdn)

To change Ethernet support settings using Visual Studio

1.         On the Visual Studio Tools menu, click Options.

2.         In the Options dialog box, expand Device Tools, and then click Devices.

3.         Select the emulator whose settings you want to change, and then click Properties.

4.         In the Emulator Properties dialog box, click the Network tab.

5.         Select the network card you want to emulate, and then click OK.

Select properties

Be sure to this first, it will install a virtual network driver, and it will let bind to your network card, and this will be the bridge of your device emulator and your computer.
http://www.microsoft.com/downloads/details.aspx?FamilyID=04d26402-3199-48a3-afa2-2dc0b40a73b6&DisplayLang=en#filelist

4, start up the web project

5, set the wms_ppc in device emulator

6, set the network first.

Select both

Setting->connections->Advance->Select Network->My Work Network->Edit-> Check This connects to network, ONLY

This step you can verify several times, it may lose the setting sometimes.

你可能感兴趣的:(emulator)