Error 1 Connection Failed Because Of Invalid Command-line Arguments
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Connection failed because of invalid command-line arguments. : WP7 Emulator up vote 4 down vote favorite 1 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. windows-phone-7 windows-phone-7-emulator share|improve this question edited Mar 14 '12 at 17:06 asked Mar 14 '12 at 15:46 user3526 609816 Are you running windows 8? –Kasper Holdum Mar 14 '12 at 17:33 nop.. windows 7! –user3526 Jun 4 '12 at 9:35 add a comment| 4 Answers 4 active oldest votes up vote 2 down vote 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 201
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How do I handle http://stackoverflow.com/questions/9705234/connection-failed-because-of-invalid-command-line-arguments-wp7-emulator “connection failed due to invalid command line” error? up vote 2 down vote favorite I've installed all the necessary components: sdk, toolkit, Windows7 SP1, Visual Studio 2010 SP1, but it's not working. It is giving me an invalid command line argument error on running. visual-studio windows-phone-7 share|improve this question edited May 11 '12 at 15:54 Raul Rene 5,58493053 asked May 10 '12 at 22:08 user1345600 111 http://stackoverflow.com/questions/10542871/how-do-i-handle-connection-failed-due-to-invalid-command-line-error usually is a faulty installation. try to unistall wp7 dev tools, delete "%LocalAppData%\Microsoft\Phone Tools" content and try again. Other reason could be the lack of free RAM memory in your dev PC. let us know... –josemiguel.torres May 11 '12 at 6:43 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote Please install Media Format Feature Pack for Windows and retry. It worked for me. share|improve this answer answered May 21 '12 at 9:07 Mridul Raj 46321038 This worked for me too, if you have an N or NK version of windows7 without a Windows Media Player I was getting the same issue. Installing media player fixed the issue... odd but it gets it going –tngle Jun 25 '12 at 14:40 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other question
(Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) HomeLibraryLearnDownloadsForums Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: Connecting to Windows Phone 7 Emulator Silverlight > Silverlight for Windows Phone https://social.msdn.microsoft.com/Forums/silverlight/en-US/f8e48abe-5f9b-42c2-95d1-8de7c6810028/connecting-to-windows-phone-7-emulator?forum=silverlightwinphone Question 0 Sign in to vote Hi, I've recently installed Windows Phone7 Developer Tools on Visual Studio 2010 Ultimate RTM. The whole installation processwentwell and"Silverlight for Windows Phone"now appears in the list of Installed Templates in Visual Studio 2010. So far so good... I first created a very simple Windows Phone 7 application. Nothing really fancy, only the very basic. The compilation error 1 processdidn't displayany error. So far so good... I tried to launch the application a few times (as Administrator...) in the Windows Phone Emulator, though everytime the Connecting to Windows Phone 7 Emulator... loading process stalles and I always get the following error: "Connection failed because of invalid command line arguments". Anysuggestion on how to fix this would be appreciated. Thank you. Thursday, June error 1 connection 17, 2010 7:11 PM Reply | Quote Answers 0 Sign in to vote Hi Mawashi, Does the same thing occur when you create a blank application and run it? Hopefully its just a faulty installation. Friday, June 18, 2010 1:54 AM Reply | Quote 0 Sign in to vote This is a known on systems that had previous tools builds installed + uninstalled, you’ll have to manually delete the folder %LocalAppData%\Microsoft\Phone Tools in order to get the emulator to work again. Let us know if this works for you. Thanks, Mike Friday, June 18, 2010 12:54 PM Reply | Quote 0 Sign in to vote Hi Mike & GoldDark, Thank's for your replies. I finally managed to makethe emulatorwork. I downloaded and reinstalled the whole Windows Phone 7 installation files... I also noticed my PC was a little bit low onRAM so Iboost it to5 GB and that did the trick...Everything is working perfectly now... :) Sunday, June 20, 2010 5:12 PM Reply | Quote All replies 0 Sign in to vote Hi Mawashi, Does it work when you run it from Visu