How to: Start the Device Emulator

You can launch the Device Emulator in several different ways, depending on your installation and your personal preferences.

In Visual Studio, clicking Start (or Start Without Debugging) on the Tools menu opens the Deploy dialog box, where you can select the emulator, which then launches automatically.

Launching the Device Emulator

To launch the Device Emulator from the command line

  1. Open a console window.

  2. Navigate to DeviceEmulator.exe, installed by default under \Program Files\Microsoft Device Emulator\1.0.

  3. Run the file using your choice of options.

    For command-line options, see Device Emulator Command-Line Reference.

To launch the Device Emulator from the Device Emulator Manager

  1. Open the Device Emulator Manager.

    This process depends on your installation. Standalone installations of the Device Emulator require you to launch the Device Emulator before you can launch the Device Emulator Manager. For more information, see How to: Start the Device Emulator Manager.

  2. In the Device Emulator Manager window, right-click the emulator you want to launch.

  3. On the shortcut menu, click Connect.

To launch the Device Emulator from Platform Builder

To launch the Device Emulator from the Visual Studio IDE

  1. On the Visual Studio Tools menu, click Connect to Device.

  2. In the Connect to Device dialog box, select an emulator from the Devices box, and then click Connect.

    —or—

  3. On the Visual Studio Tools menu, click Device Emulator Manager.

  4. In the Device Emulator Manager window, right-click the emulator you want to launch.

  5. On the shortcut menu, click Connect.

See Also

Other Resources

Device Emulator