Setenv.bat is missing Windows

I have a problem creating a driver. I uploaded the 2013 visual studio. I downloaded WDK 8.1. When I debug a program, it shows me an error:

"Error  1   error MSB3073: The command "call C:\Program Files (x86)\Windows Kits\8.1\\bin\setenv.cmd C:\Program Files (x86)\Windows Kits\8.1\ chk wxp
cd /d C:\FsFilter\FSFilter\
build.exe -I" exited with code 9009.    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets   38  5   FsFilter"

Can you help me?

Here is a link to a snapshot of my project: http://tinypic.com/view.php?pic=2ex4p6x&s=8

+4
source share
1 answer

For others with the same question: the latest WDKs do not have setenv, so create old samples that use setenv and build.exe with old WDKs, for example. WDK 7.1 .

WDK 8 + Visual Studio MSBuild.

+1

Source: https://habr.com/ru/post/1530186/


All Articles