我想在Windows 8下使用WDK 8.1和Visual Studio 2012构建一个项目。我没有安装Visual Studio 2013 Preview,但根据需求页面我已满足所有要求:WDK 8.1与Visual Studio 2012失败
该网页说:
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
1 files, String newOsConfigName)
merable
有没有人对如何解决这个错误提示吗?因为我张贴了这个问题
更新为2014年1月12日的文件中
已被修改,现在明确规定,VS2013确实需要WDK8.1发展。
自发布该问题以来页面已更改,但谢谢 – yms