Connection error due to invalid command line arguments .: WP7 emulator

I know this is a known issue. Visual Studio 2010 Express for Windows Phone emulator stops working suddenly.

Hint: It worked fine before I started deploying apps to My Nokia Lumia. After that, he did not start. Could this be the cause of the error?

Error:

Connection failed because of invalid command-line arguments.

Any workaround ?!

TIA.

Edit: Sorry, I am only using VS 2010.

+4
source share
4 answers

Windows Phone development is not supported in VS 11. The Windows Phone development team released an expression saying they were working on a solution to the problem, but for now, Win7 / VS2010 should be used to develop WP7.

There were some hacks to make the emulator work, but I would recommend staying away from them, as some users have encountered Windows crashes.

If you are running Windows 8, you can still deploy to your phone and debug your code on the phone. If you are using Windows 7, use VS 2010 and everything should work.

+2
source

I had the same problem. Windows 7 did not have Windows Media Player. When I installed the player, the problem was resolved :-)

link: http://www.microsoft.com/en-us/download/details.aspx?id=16546

0
source

Well, this can be tracked by nvidia dll nvwgf2um.dll. Look in the event viewer for XDE to crash.

To get around this, I just copied the older version to the XDE application folder and bingo, working for me!

0
source

I use a laptop with integrated and hardware accelerated graphics. The crash solution was to use only Intel integrated graphics. Now it works great.

0
source

Source: https://habr.com/ru/post/1401410/


All Articles