简体   繁体   中英

Need a little help getting Windows Phone SDK to work

Why is trying to use the Windows Phone SDK (Any version) so problematic? I have tried to install WP8 on my Windows 8 machine with Visual Studio 2012 Ultimate and despite a month of troubleshooting and searching, not a single thing has fixed the issue. First of all, the WP8 installer tells me that my OS is not Windows 8 - then it tells me that my version of the .NET Framework is not supported (I have every version from 3.0 up to 4.5). As a last resort, I tried running the installer in compatibility mode but that option is not even available for the installer.

And then I looked in my Start menu and found a folder named Visual Studio 2010 Express. I expanded this folder and to my surprise, it had Visual Studio 2010 Express for Windows Phone.Ink (WP7.0 and WP7.1) in there - so I opened it. Everything seemed to be going just fine. I created a new project "PhoneApp1" and without writing any code or making any changes, I hit the debug button - and this is what I get:

在此输入图像描述

It says "Run the program without getting help". So I clicked it. And then this happens:

在此输入图像描述

Click OK...

在此输入图像描述

Click NO...

在此输入图像描述

Connection failed because of invalid command line arguments.

Now we get the error message. Not very helpful, but I went searching online and I dug as deep as I could in Google results and I think I've tried atleast 20 different sites and even more "solutions" but not a single one of the solutions even worked.

Hass anybody had this exact same issue? How did you fix it?

Please don't tell me to install WP8 SDK unless you also have a solution that works for that.

try to install win8 ultimate,because i think wp8 is just compatible with win 8 RTM. about wp7,i have no idea, but win 8 is compatible with those wp7 and wp8

The Best solution is to install Windows 8 Pro or higher and install either WP SDK 8 or 7.1. You can have both VS versions side by side.

And if that is not possible right now, for time being your problem may be solved by installing Windows Phone SDK 7.1.1 Update . Which makes the WP 7.1 SDK compatible with Windows 8 And also adds the Emulator supprot for 256MB RAM devices. Your screen shot indicates that you did not have this 7.1.1 update.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM