The problem occurs when you try to compile and run a Windows Phone 7 project, resulting in an alert saying “Application not installed”.
There’s a good chance this started happening after you migrated the project, or perhaps pulled a copy from source control.
The solution here is simple, though not immediately apparent. Change the “Solution platforms” drop list to “Windows Phone”.
Re-run it, and the emulator will be able to run the app again.