a specified communication resource(port) is already in use by another application
-
Friday, August 03, 2012 9:41 AM
I have a WP8 project in WP8 emulator, then I run it using visual studio 2012, and launch the WVGA emulator; But pop up a message "a specified communication resource(port) is already in use by another application", does anybody know what's cause this problem ?
- Moved by CoolDadTxMVP Friday, August 03, 2012 1:46 PM Mobile related (From:Visual C# IDE)
- Changed Type Elegentin XieMicrosoft Contingent Staff, Moderator Thursday, September 06, 2012 6:36 AM
All Replies
-
Monday, August 06, 2012 8:28 AMWp8 emulator? So cool, does it used for windows mobile 6.5?
Please not forget mark your answer, and unmark your disagreed point.
-
Thursday, September 06, 2012 6:38 AMModerator
Hi,
Welcome here.
According to your description, you issue has not a solid answer; I think it should be better if we change the thread type to General Discussion.
Thanks for your understanding and active participation in the MSDN Forum.
Regards,
Elegentin Xie [MSFT]
MSDN Community Support | Feedback to us
-
Friday, November 02, 2012 8:52 AM
I have the exact same problem.
When Visual Studio is trying to connect to the emulator to run a Windows Phone app in debug it displays the error message: "A specified communication resource (port) is already in use by another application.". The emulator is launched but Visual Studio isn't able to connect to it.
Anyone found a solution yet?
Running Win8x64 with only Visual Studio 2012 Express for Windows Phone installed.*Edit*
Solved it.
Had to first deploy the app on the emulator before debug mode can be ran.
"Right click on project > Deploy"
After this it ran in debug mode and worked fine for me.- Edited by lucasvdh4029 Friday, November 02, 2012 9:39 AM Solved
-
Tuesday, December 11, 2012 9:22 AM
Doesn't work for me...I have the exact same problem.
When Visual Studio is trying to connect to the emulator to run a Windows Phone app in debug it displays the error message: "A specified communication resource (port) is already in use by another application.". The emulator is launched but Visual Studio isn't able to connect to it.
Anyone found a solution yet?
Running Win8x64 with only Visual Studio 2012 Express for Windows Phone installed.*Edit*
Solved it.
Had to first deploy the app on the emulator before debug mode can be ran.
"Right click on project > Deploy"
After this it ran in debug mode and worked fine for me. -
Thursday, December 13, 2012 3:29 PM
Worked like a Charm.. no pun intended, ;) ThanksI have the exact same problem.
When Visual Studio is trying to connect to the emulator to run a Windows Phone app in debug it displays the error message: "A specified communication resource (port) is already in use by another application.". The emulator is launched but Visual Studio isn't able to connect to it.
Anyone found a solution yet?
Running Win8x64 with only Visual Studio 2012 Express for Windows Phone installed.*Edit*
Solved it.
Had to first deploy the app on the emulator before debug mode can be ran.
"Right click on project > Deploy"
After this it ran in debug mode and worked fine for me. -
Friday, December 21, 2012 6:26 AM
Had to first deploy the app on the emulator before debug mode can be ran.
"Right click on project > Deploy"
After this it ran in debug mode and worked fine for me.This Works for me. Thanks
-
Sunday, January 20, 2013 5:36 PMI had this issue as well and the "deploy" didn't help. What I did to fix this was I changed by compile to target "Any CPU" and it started working. I had it targeted for "Windows Phone" previously to get around an issue with Blend and its inability to display the viewer when compiling for "Arm or 64bit" CPU's.... Lot's of little gotcha's when working between those two programs.

