ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Windows Phone FAQ

Windows Phone FAQ

原创 Linux操作系统 作者:yuzhangqi 时间:2011-10-28 11:43:03 0 删除 编辑

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/,如需转载,请注明出处,否则将追究法律责任。

上一篇: Android FAQ
下一篇: Jira数据库配置
请登录后发表评论 登录
全部评论

注册时间:2008-06-10

  • 博文量
    102
  • 访问量
    736246