MSBuild not seeing detours.h header from vcpkg

E7ite's Avatar


10 Jan, 2021 08:03 PM

I am trying to build a Visual Studio 2019 solution on AppVeyor. It has a dependency of Microsoft Detours. I am using vcpkg to install detours which works correctly on my local machine. However, on the AppVeyor VM, after running vcpkg install detours and vcpkg integrate install, it does not detect the header files, and failling to compile, and I am not sure why.

Here is the GitHub pull request that is failing to compile.

Attached is a screenshot of the log of the AppVeyor build

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • Capture.PNG 111 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

27 Jan, 2023 08:06 PM
27 Jan, 2023 08:05 PM
25 Jan, 2023 03:23 PM
25 Jan, 2023 03:22 PM
23 Jan, 2023 03:29 PM