Connection failed because of invalid command-line

2020-07-15 02:47发布

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.

4条回答
男人必须洒脱
2楼-- · 2020-07-15 03:13

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!

查看更多
淡お忘
3楼-- · 2020-07-15 03:14

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.

查看更多
趁早两清
4楼-- · 2020-07-15 03:28

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

查看更多
Rolldiameter
5楼-- · 2020-07-15 03:29

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.

查看更多
登录 后发表回答