Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connection failed because of invalid command-line arguments. : WP7 Emulator

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.

like image 701
Max Avatar asked Mar 14 '12 15:03

Max


2 Answers

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.

like image 167
Kasper Holdum Avatar answered Sep 22 '22 05:09

Kasper Holdum


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!

like image 35
Glyn Richards Avatar answered Sep 22 '22 05:09

Glyn Richards