I have just upgrade my windows phone 8 to windows phone 8.1. When I connect my phone to pc and run my project it gives me
A specified communication resources(port) is already in use by another application
This is a generic error for any failure when Visual Studio attempts to connect it's debugger. There is no silver bullet solution to this problem. The problem persists in Visual Studio 2013, and on Windows Phone 8.1. You'll often notice that the application is actually deployed, but the debugger just couldn't attach itself.
However, uninstalling anything is never a correct solution to this problem.
Now, generally the following options can fix the 'problem' (sometimes one or more are required):
Bad USB cables or USB ports can also cause this issue.