I am trying to build a project using WDK 8.1 and Visual Studio 2012 under Windows 8. I do not have Visual Studio 2013 Preview installed, however according to the requirements page I have fulfilled all the requirements:
That page says:
System Requirements Before you install the WDK, you must first install Microsoft Visual Studio Professional 2012 or above.
My project was created using WDK 8.0 so I followed the instructions provided here for migrating to WDK 8.1:
ProjectUpgradeTool: Upgrade a WDK 8 project or solution to WDK 8.1
While running the command:
ProjectUpgradeTool.exe C:\Sources\MyDriver
I got the following error:
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
Does anyone have a hint on how to get around this error?
Update as of Jan 12 2014
The documentation has been modified since I posted this question, and it clearly states now that VS2013 is indeed required for WDK8.1 development.
Same question in MSDN forums