2 Comments

Sometimes when you try to debug a Windows Phone app through emulator with Visual Studio, you may encounter the following error:

A specified communication resource (port) is already in use by another application

image

One possible reason for this is that Visual Studio tries to debug an app which isn’t deployedto the emulator.

For example, if you set the startup project like this:

image

And then through Visual Studio’s Configuration Manager you don’t check the “Deploy” for this particular project:

image

You will get the error when launching the debugger.

Comments

Comment by Mikroprocesor

not working

Mikroprocesor
Comment by HAL 9000

I get this issue trying to build a debug schema to a Windows 8.1 device (Lumia 1520), not an emulator. Ugh.

HAL 9000
Post comment