none
WDK 8.1 fails with Visual Studio 2012 RRS feed

  • Question

  • 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:

    http://msdn.microsoft.com/en-us/library/windows/hardware/dn308552(v=vs.85).aspx#system_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:

    http://msdn.microsoft.com/en-us/library/windows/hardware/dn265174(v=vs.85).aspx

    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(IEnumerable`1 projectFiles)
          at Microsoft.DriverKit.ProjectUpgradeTool.Upgrader.UpgradeProjects(IEnu
       merable`1 files, String newOsConfigName)

    Does anyone have a hint on how to get around this error?

    Same question in stackoverflow.com: http://stackoverflow.com/questions/19035042/wdk-8-1-fails-with-visual-studio-2012



    • Edited by yms_2009 Thursday, September 26, 2013 5:48 PM
    Thursday, September 26, 2013 4:57 PM

Answers

  • That is a change since all previous releases of Windows 8.1 WDK required VS2013.  The question is whether this is a documentation bug, or something else.   I believe it could be a documentation bug, since the ability to have side by side installations of Windows 8.0 and Windows 8.1 is a requirement for many vendors.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    • Marked as answer by yms_2009 Friday, September 27, 2013 11:34 AM
    Thursday, September 26, 2013 5:41 PM

All replies

  • Windows 8.1 WDK requires VS2013, so migrate to the new compiler.  Windows 8.0 WDK is for VS2012.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    • Marked as answer by Doron Holan [MSFT] Thursday, September 26, 2013 10:56 PM
    • Unmarked as answer by yms_2009 Friday, September 27, 2013 11:33 AM
    Thursday, September 26, 2013 5:05 PM
  • Thanks for your answer. Can you please provide a reference that supports your statement?

    Please see the following page:

    http://msdn.microsoft.com/en-us/library/windows/hardware/dn308552(v=vs.85).aspx#system_requirements

    That page says:

    System Requirements

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


    • Edited by yms_2009 Thursday, September 26, 2013 5:33 PM
    Thursday, September 26, 2013 5:32 PM
  • That is a change since all previous releases of Windows 8.1 WDK required VS2013.  The question is whether this is a documentation bug, or something else.   I believe it could be a documentation bug, since the ability to have side by side installations of Windows 8.0 and Windows 8.1 is a requirement for many vendors.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    • Marked as answer by yms_2009 Friday, September 27, 2013 11:34 AM
    Thursday, September 26, 2013 5:41 PM
  • Vs2013 only requires w8.1 for modern 8.1 apps, otherwise w7 is fine

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, September 26, 2013 10:56 PM