我想在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