简体   繁体   English

需要一点帮助才能使Windows Phone SDK正常工作

[英]Need a little help getting Windows Phone SDK to work

Why is trying to use the Windows Phone SDK (Any version) so problematic? 为什么尝试使用Windows Phone SDK(任何版本)如此有问题? 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. 我曾尝试使用Visual Studio 2012 Ultimate在我的Windows 8机器上安装WP8,尽管经过了一个月的故障排除和搜索,但没有一件事能解决问题。 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). 首先,WP8安装程序告诉我,我的操作系统不是Windows 8 - 然后它告诉我不支持我的.NET Framework版本(我的每个版本从3.0到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. 然后我查看了“开始”菜单,找到了一个名为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. 我扩展了这个文件夹,令我惊讶的是,它有Visual Studio 2010 Express for Windows Phone.Ink(WP7.0和WP7.1) - 所以我打开它。 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: 我创建了一个新项目“PhoneApp1”,没有编写任何代码或进行任何更改,我点击调试按钮 - 这就是我得到的:

在此输入图像描述

It says "Run the program without getting help". 它说“在没有得到帮助的情况下运行程序”。 So I clicked it. 所以我点击了它。 And then this happens: 然后发生这种情况:

在此输入图像描述

Click OK... 单击确定...

在此输入图像描述

Click NO... 点击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. 不是很有帮助,但我去网上搜索,我在谷歌搜索结果中挖得尽可能深,我想我已经尝试了至少20个不同的网站,甚至更多的“解决方案”,但没有一个解决方案甚至工作。

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. 请不要告诉我安装WP8 SDK,除非你也有一个适合它的解决方案。

try to install win8 ultimate,because i think wp8 is just compatible with win 8 RTM. 尝试安装win8终极版,因为我认为wp8只与win 8 RTM兼容。 about wp7,i have no idea, but win 8 is compatible with those wp7 and wp8 关于wp7,我不知道,但win 8与那些wp7和wp8兼容

The Best solution is to install Windows 8 Pro or higher and install either WP SDK 8 or 7.1. 最佳解决方案是安装Windows 8 Pro或更高版本并安装WP SDK 8或7.1。 You can have both VS versions side by side. 您可以并排使用两个VS版本。

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 . 如果现在不可能,那么暂时可以通过安装Windows Phone SDK 7.1.1更新解决您的问题。 Which makes the WP 7.1 SDK compatible with Windows 8 And also adds the Emulator supprot for 256MB RAM devices. 这使得WP 7.1 SDK与Windows 8兼容并且还为256MB RAM设备添加了Emulator supprot。 Your screen shot indicates that you did not have this 7.1.1 update. 您的屏幕截图表明您没有此7.1.1更新。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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