Windows Phone FAQ

Here you can find troubleshootings for Windows Phone 7 application development.

1. Connection failed because of invalid command-line arguments.

Q: After setup Visual Studio 2010 ultimate sp1 and Windows Phone SDK 7.1, I created a sample Silverlight for Windows Phone application. It build successfully. While trying to debug it on Windows Phone Emulator, it threw an error message "Connection failed because of invalid command-line arguments" and failed to run.

A: I have tried all kinds of way. Uninstall and reinstall the Windows Phone SDK 7.1, it still did not work. Remove old version Emulators such as 5.x or 6.x, it still did not work. Run Windows Phone Emulator from the command line, it popup a System Error "The program can't start because MFPlat.DLL is missing from your computer. Try reinstalling the program to fix this problem."

The root cause is that my operation system is Windows 7 Professional N, which does not include Windows Media Player, and related technologies. You must install "KB968211" update. After installing this update and rebooting my computer, I tried to open the Windows Phone 7 Emulator. Wao! it opened. Run my sample Windows Phone 7 application, it worked this time perfectly.

KB968211 download link

http://download.microsoft.com/download/B/9/B/B9BED058-8669-490E-BA61-D502E4E8BEB1/Windows6.1-KB968211-x64-RefreshPkg.msu

Thanks for this blog

http://www.kunal-chowdhury.com/2011/09/solution-for-program-can-start-because.html

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/13651903/viewspace-1056007/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/13651903/viewspace-1056007/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值