I know this is a known issue. Visual Studio 2010 Express for Windows Phone's emulator has stopped working all of sudden.
Hint: It was working fine before i started deploying apps to My Nokia Lumia. After then it was failing to start. Could that be a reason for error?
Error it throws:
Connection failed because of invalid command-line arguments.
Any workaround?!
TIA.
Edit: Sorry, I am using VS 2010 only.
Ok, this can be tracked down the the nvidia dll nvwgf2um.dll. Look in event viewer for an XDE crash.
To get around this I just copied an older version into the XDE application folder and bingo, worked for me!
Windows Phone development is not supported in VS 11. The windows phone development team released a statement saying that they were working on addressing the issue, but for now Win7/VS2010 should be used for WP7 development.
There have been some hacks going around to make the emulator work, but I would recommend staying away from them, since some users have been experiencing windows crashes.
If you're working on Windows 8, then you should still be able to deploy to your phone and debug your code on the phone. If you're running Windows 7 then use VS 2010 and everything should work.
I had the same problem. My Windows 7 did not come with Windows Media Player. When I installed the player the problem was solved :-)
link: http://www.microsoft.com/en-us/download/details.aspx?id=16546
I'm using a laptop with integrated and hardware accelerated graphics. The solution for the crashes was to use only integrated Intel graphics. It works fine now.