Windows SDK 安装 Visual Studio Community 2015 [英] Windows SDK installation Visual Studio Community 2015

查看:55
本文介绍了Windows SDK 安装 Visual Studio Community 2015的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在 Visual Studio Community 2015 上安装 Windows Phone 模板包时,出现以下错误.

是什么原因?我可以从哪里查看错误日志?

解决方案

几个问题:

  1. 您提供的 Windows SDK 链接(

    如果我点击跳过,我会看到上面包含的错误对话框.

    要解决此问题,

    • 进入控制面板
    • 打开添加/删除程序(或程序和功能,具体取决于您的操作系统版本)
    • 选择 Visual Studio Community 2015,然后点击更改
    • 在 VS 设置中,点击修改
    • 确保选中Windows 8.1 和 Windows Phone 8.0/8.1 工具"下的工具和 Windows SDK"功能.

    如果您使用支持 Hyper-V 的计算机运行 Windows 8.0/8.1/10 x64 Professional 或更高版本,那么您也应该能够安装 Windows Phone 8.1 模拟器.

    -保罗查普曼 [微软]

    When I try to install the Windows Phone Template Pack on Visual Studio Community 2015, the following error is obtained.

    What is the reason? Where can I check the error log from?

    解决方案

    Couple of issues:

    1. The Windows SDK link you provided (http://www.microsoft.com/en-in/download/details.aspx?id=8442) is for Windows 7. It is not compatible with Visual Studio 2015 for Windows Phone development.

    2. I think this error you're seeing with the Windows Phone Template Pack (HRESULT: 0x80070057) is because the Windows and Windows Phone 8.1 Tools are not installed on your computer along with Visual Studio Community 2015.

    I am able to reproduce this only when the Windows and Windows Phone 8.1 Tools are not installed.

    If I click skip, then I see the error dialog you included above.

    To resolve this issue,

    • Go into the Control Panel
    • Open up Add/Remove Programs (or Programs & Features depending on your OS version)
    • Select Visual Studio Community 2015, then click Change
    • In VS setup, click Modify
    • Make sure that the "Tools and Windows SDKs" feature under "Windows 8.1 and Windows Phone 8.0/8.1 Tools" is checked.

    If you're running Windows 8.0/8.1/10 x64 Professional or higher with a Hyper-V capable computer and then you should also be able to install the Windows Phone 8.1 emulators.

    -Paul Chapman [MSFT]

    这篇关于Windows SDK 安装 Visual Studio Community 2015的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆