Closed Jeekaz closed 3 years ago
any ideas?
The latest Visual Studio update broke the WDK. You can fix this by setting the 'external include path' manually in the project properties, but it's easier to do it in the WDK files because otherwise you'll need to fix every WDK project you ever open or make until they update the WDK again.
C:\Program Files (x86)\Windows Kits\10\build
and open WindowsDriver.Win32.props
and WindowsDriver.x64.props
(and WindowsDriver.arm.props
/WindowsDriver.arm64.props
if you have them) in a text editor. These files will start with something along the lines of
<PropertyGroup>
<ExecutablePath >$(ExecutablePath);$(WDKBinRoot_x86);$(WDKContentRoot)tools\x86\Tracing</ExecutablePath>
</PropertyGroup>
Add an ExternalIncludePath
attribute to the property groups so that they look like this:
<PropertyGroup>
<ExecutablePath >$(ExecutablePath);$(WDKBinRoot_x86);$(WDKContentRoot)tools\x86\Tracing</ExecutablePath>
<ExternalIncludePath>$(CRT_IncludePath);$(KM_IncludePath);$(KIT_SHARED_IncludePath)</ExternalIncludePath>
</PropertyGroup>
This should fix the problem.
Thanks for that solution. It works fine now
Matthijs Lavrijsen @.***> schrieb am So. 30. Mai 2021 um 22:35:
The latest Visual Studio update broke the WDK. You can fix this by setting the 'external include path' manually in the project properties, but it's easier to do it in the WDK files because otherwise you'll need to fix every WDK project you ever open or make until they update the WDK again.
- Close any open Visual Studio instances.
- Go to C:\Program Files (x86)\Windows Kits\10\build and open WindowsDriver.Win32.props and WindowsDriver.x64.props (and WindowsDriver.arm.props/WindowsDriver.arm64.props if you have them) in a text editor. These files will start with something along the lines of
$(ExecutablePath);$(WDKBinRoot_x86);$(WDKContentRoot)tools\x86\Tracing Add an ExternalIncludePath attribute to the property groups so that they look like this:
$(ExecutablePath);$(WDKBinRoot_x86);$(WDKContentRoot)tools\x86\Tracing $(CRT_IncludePath);$(KM_IncludePath);$(KIT_SHARED_IncludePath)
- Save the files and reopen your project(s).
This should fix the problem.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mrexodia/TitanHide/issues/59#issuecomment-851057653, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUJAK35EUQPDW6SHD656SF3TQKOR5ANCNFSM45ZMKFTA .