gpt4 book ai didi

visual-studio-2012 - Visual Studio 2012 中的 WDK 8.1 失败

转载 作者:行者123 更新时间:2023-12-02 21:48:50 27 4
gpt4 key购买 nike

我正在尝试在 Windows 8 下使用 WDK 8.1 和 Visual Studio 2012 构建一个项目。我没有安装 Visual Studio 2013 Preview,但是根据要求页面,我已经满足了所有要求:

WDK 8.1 Requirements

该页面显示:

System Requirements Before you install the WDK, you must first install Microsoft Visual Studio Professional 2012 or above.

我的项目是使用 WDK 8.0 创建的,因此我按照此处提供的说明迁移到 WDK 8.1:

ProjectUpgradeTool: Upgrade a WDK 8 project or solution to WDK 8.1

运行命令时:

ProjectUpgradeTool.exe C:\Sources\MyDriver

我收到以下错误:

Catastrophic failure while converting projects under 'C:\Sources\MyDriver': Message:Could not load file or assembly 'Microsoft.Build, Version=12.0.0.0 , Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependenc ies. The system cannot find the file specified. StackTrace= at Microsoft.DriverKit.ProjectUpgradeTool.ProjectUpgrader.UpgradeProjec
ts(IEnumerable1 projectFiles)
at Microsoft.DriverKit.ProjectUpgradeTool.Upgrader.UpgradeProjects(IEnu<br/>
merable
1 files, String newOsConfigName)

有人知道如何解决此错误吗?

截至 2014 年 1 月 12 日更新

自从我发布这个问题以来,文档已被修改,并且现在明确指出WDK8.1开发确实需要VS2013。

MSDN forums中有同样的问题

最佳答案

如果您想在 Visual Studio 2012 中使用 WDK,则不应获得 WDK 8.1 版本,而是 8.0 版本。

关于visual-studio-2012 - Visual Studio 2012 中的 WDK 8.1 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19035042/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com