My Azure Cloud Service\'s Web Role works fine when deployed to Azure but can\'t get it running with the Emulator.
I also found that by having a command in Microsoft.PowerShell_profile in C:\Users\MyUserName\Documents\WindowsPowerShell that prompted for input caused the Emulator to get stuck because it uses that profile just like any other PowerShell session. Removing the prompt allowed it to work properly.
Comment out the Startup Task in the csdef file. It helped me.