gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 04:49:59 30 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.0 而不是 8.1 版本。

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

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