samedi 25 juin 2016

VS 2015. The build tools for WindowsApplicationForDrivers8.1 error

I am getting the following errors with VS2015 and WDKs.

With VS2015 and WDK8,1, I get error

The imported project "C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.cpp.props" was not found

After googling, I found out that VS15 needs WDK10.

But With VS2015 and WDK10, I am getting error message, suggesting to install WDK8.1

C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V140Microsoft.Cpp.Platform.targets(57,5):
error MSB8020: The build tools for WindowsKernelModeDriver8.1 (Platform Toolset = 'WindowsKernelModeDriver8.1') cannot be found. 
To build using the WindowsKernelModeDriver8.1 build tools, please install WindowsKernelModeDriver8.1 build tools.  
Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".

I tried having both WDK8.1 and WDK10. Then, I can not open my project file.

C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V140Microsoft.Cpp.Redirect.12.props(51,3): 
The imported project "C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.cpp.props" was not found.
Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

Aucun commentaire:

Enregistrer un commentaire