c++visual-studioboostvcpkg

Vcpkg 2 different behaviour


I am working on two similar projects which both utilize Vcpkg integration with Visual Studio 2022. While one of the projects compiles successfully, the other is experiencing issues with including the Boost header files. Why might this be happening?


Solution

  • The issue appeared to be a glitch. By moving the

     <PropertyGroup Label="Vcpkg"> 
    <VcpkgEnableManifest>true</VcpkgEnableManifest> 
    </PropertyGroup>
    

    section from the bottom to the top of the vcxproj file, I was able to resolve the problem.