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

拟墨画扇 提交于 2019-12-06 04:08:09

问题


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.


回答1:


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.




回答2:


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:


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.




回答4:


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



来源:https://stackoverflow.com/questions/9705234/connection-failed-because-of-invalid-command-line-arguments-wp7-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!